-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More memory for larger programs #30
Comments
You must modify three header files:
There is The size of EPC SSA region (and other memory sizes) is determined by Since the following three lines (477~479 in
|
Thanks. I was able to increase the heap size but when I increase the ssa_npages variable it crashes. I'm still getting a segmentation fault. Here are the last few lines. Can you tell what might be the problem. TCS address : 4fffd000 |
@Syscoder1441 |
How can we run programs with greater memory requirements in opensgx? I changed the NUM_EPC and ENCLAVE_SIZE in qemu/target-i386/SGX.h and rebuilt qemu, but when I run the hello program, I see no changes in pre-allocated EPC SSA region and Heap region. I was able to compile my program using opensgx but I get a seg fault when running it. I suspect it is because of the limits in the size of the enclave.
The text was updated successfully, but these errors were encountered: