occlum/tools
sanqian.hcy b08f5b9ceb Add support for SGX simulation mode
1. Use arch_prctl to replace RDFSBASE/WRFSBASE
Ptrace can't get right value if WRFSBASE is called which
will make debugger fail in simulation mode. Use arch_prctl
to replace these instructions in simulation mode.

2. Disable the busy thread in exit_group test
exit_group doesn't have a real implementation yet but test
under SGX simulation mode give core dump for exit_group test.
Disable the busy loop thread and the core dump disappear.

3. Add SDK lib path to LD_LIBRARY_PATH
Linker sometims can't find urts_sim and uae_service_sim when
running. Explicitly add path to LD_LIBRARY_PATH when running
occlum command.

Signed-off-by: sanqian.hcy <sanqian.hcy@antfin.com>
2020-03-01 06:42:33 +00:00
..
docker Extend CPUID emulation for Intel Celeron and newer Intel CPUs 2020-02-28 10:53:38 +00:00
protect-integrity Add install target for Makefile 2019-08-31 06:01:16 +00:00
toolchains Add Dockerfile for CentOS 7.2 2020-01-23 04:40:54 +00:00
Makefile Add install target for Makefile 2019-08-31 06:01:16 +00:00
occlum Add support for SGX simulation mode 2020-03-01 06:42:33 +00:00
occlum-build-enclave Refactor Occlum PAL as a shared library 2020-01-23 04:40:54 +00:00
occlum-gen-default-occlum-json Check program paths against entry points in Occlum.json 2019-11-07 02:42:59 +00:00