s2e-core
s2e-core copied to clipboard
Execute multi-C2A
Overview
Establish a method to execute multi-C2A in the S2E.
Details
Currently, a single C2A can be built and executed in the S2E.
Multiple C2As can be built but can not be correctly executed because of the function names' conflicts in the C2A.
This problem is solved using the namespace
feature in C++, but we need to find an efficient way.
The following solutions are considered.
- Use the
NAMESPACE
feature of install(EXPORT ***) command in CMake. - Make a script to automatically add
namespace
into all source codes as follows.#ifdef __cplusplus namespace C2A_AOBC { #endif ~~~ #ifdef __cplusplus } #endif
Conditions for close
When the execution of multiple C2A is completed.
Supplement
NA
Note
- Write a conclusion when closing the issue.
@conjikidow が興味を持っている。