bbiletch

Results 2 issues of bbiletch

Includes basic tests. This should cover #2, though the way WAI handles responses makes modifying the body a bit of a pain.

It appears that libsgx's `malloc` implementation does not work correctly with many small allocations. This can be verified with the following program, which incorrectly segfaults: ``` c #include int enclave_main(int...