An example of S2E user side repository for Formation Flying study.
- The structure of this repository is shown as follows.
- The
s2e-ff/s2e-corecodes are managed by usinggit submodule - The
s2e-ff/ExtLibrariesis automatically generated by using the cmake files in thes2e-ff/s2e-core/ExtLibrariesdirectory. - The main directory
s2e-ff/s2e-ffis handled as the normal user side directory.s2e-ff (repository origin) ├─ExtLibraries ├─s2e-core (submodule) └─s2e-ff
- Clone
- Initialize and update submodule
- Generate
ExtLibrariesdirectory - Open
s2e-ff/s2e-ff - Build and execute
- GCC 9.4.0
- Visual Studio 2022
- We use GoogleTest to test the codes.
- How to install the GoogleTest
- GoogleTest is automatically set up with CMakefile
- How to execute the test
- Test codes are stored in the
s2e-ff/s2e-ff/testdirectory. - Users need to add the test codes and test target codes in the build target list
TEST_FILESin theCMakeList.txt. - Turn on the
BUILD_64BITandGOOGLE_TESToption in theCMakeList.txt- GoogleTest supports only 64bit build
- Build the
S2E_FFwith test - Execute
S2E_FF_TEST - Check the results of the test
- Test codes are stored in the