Asylo simulation backend build rules
SimEnclaveInfo
SimEnclaveInfo()
sim_enclave
sim_enclave(name, deps, kwargs)
Build rule for creating a simulated enclave shared object file.
A rule like cc_binary, but builds name_simulated.so and provides name as a target that may be consumed as an enclave in Asylo.
Creates two targets: name: A binary that may be provided to an enclave loader’s enclaves. name_simulated.so: The underlying cc_binary which is reprovided as an enclave target. If name has a “.so” suffix, then it is replaced with “_simulated.so”.
Parameters
name |
required.
The simulated enclave target name. |
deps |
optional. default is []
Dependencies for the cc_binary |
kwargs |
optional.
cc_binary arguments. |