s2e-core icon indicating copy to clipboard operation
s2e-core copied to clipboard

Execute multi-C2A

Open 200km opened this issue 2 years ago • 1 comments

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.

200km avatar Jan 05 '22 00:01 200km

@conjikidow が興味を持っている。

200km avatar May 10 '23 08:05 200km