2019-01-17 10:19:54 +00:00
|
|
|
if (OSSFUZZ)
|
|
|
|
add_subdirectory(ossfuzz)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
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
|
2018-12-05 11:02:49 +00:00
|
|
|
../libsolidity/SyntaxTest.cpp
|
2019-02-06 11:10:05 +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-03-14 18:15:48 +00:00
|
|
|
target_link_libraries(isoltest PRIVATE libsolc solidity evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES} ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
|