2019-01-17 10:19:54 +00:00
|
|
|
if (OSSFUZZ)
|
|
|
|
add_subdirectory(ossfuzz)
|
|
|
|
endif()
|
|
|
|
|
2018-02-06 09:57:16 +00:00
|
|
|
add_subdirectory(yulInterpreter)
|
2018-02-07 20:56:14 +00:00
|
|
|
add_executable(yulrun yulrun.cpp)
|
|
|
|
target_link_libraries(yulrun PRIVATE yulInterpreter libsolc evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES})
|
2018-02-06 09:57:16 +00:00
|
|
|
|
2019-01-17 10:19:54 +00:00
|
|
|
add_executable(solfuzzer afl_fuzzer.cpp fuzzer_common.cpp)
|
2018-05-11 03:20:19 +00:00
|
|
|
target_link_libraries(solfuzzer PRIVATE libsolc evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES} ${Boost_SYSTEM_LIBRARIES})
|
2018-03-14 18:15:48 +00:00
|
|
|
|
2018-10-16 19:40:10 +00:00
|
|
|
add_executable(yulopti yulopti.cpp)
|
|
|
|
target_link_libraries(yulopti PRIVATE solidity ${Boost_PROGRAM_OPTIONS_LIBRARIES} ${Boost_SYSTEM_LIBRARIES})
|
|
|
|
|
2018-12-05 11:02:49 +00:00
|
|
|
add_executable(isoltest
|
|
|
|
isoltest.cpp
|
2019-02-19 16:34:59 +00:00
|
|
|
IsolTestOptions.cpp
|
2018-12-05 11:02:49 +00:00
|
|
|
../Options.cpp
|
|
|
|
../Common.cpp
|
|
|
|
../TestCase.cpp
|
2019-02-06 11:10:05 +00:00
|
|
|
../libsolidity/util/TestFileParser.cpp
|
2019-02-21 00:50:41 +00:00
|
|
|
../libsolidity/util/TestFunctionCall.cpp
|
2018-12-05 11:02:49 +00:00
|
|
|
../libsolidity/SyntaxTest.cpp
|
2019-02-21 00:50:41 +00:00
|
|
|
../libsolidity/SemanticTest.cpp
|
2018-12-05 11:02:49 +00:00
|
|
|
../libsolidity/AnalysisFramework.cpp
|
|
|
|
../libsolidity/SolidityExecutionFramework.cpp
|
|
|
|
../ExecutionFramework.cpp
|
|
|
|
../RPCSession.cpp
|
|
|
|
../libsolidity/ASTJSONTest.cpp
|
|
|
|
../libsolidity/SMTCheckerJSONTest.cpp
|
|
|
|
../libyul/ObjectCompilerTest.cpp
|
|
|
|
../libyul/YulOptimizerTest.cpp
|
2018-02-08 17:20:54 +00:00
|
|
|
../libyul/YulInterpreterTest.cpp
|
2018-12-05 11:02:49 +00:00
|
|
|
)
|
2018-02-08 17:20:54 +00:00
|
|
|
target_link_libraries(isoltest PRIVATE libsolc solidity yulInterpreter evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES} ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
|