Skip to content

[DRAFT] No more isabelle ABI checking ossfuzz binary #16070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 24 additions & 22 deletions test/tools/ossfuzz/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ if (OSSFUZZ)
)

add_custom_target(ossfuzz_abiv2)
add_dependencies(ossfuzz_abiv2 abiv2_proto_ossfuzz abiv2_isabelle_ossfuzz)
add_dependencies(ossfuzz_abiv2 abiv2_proto_ossfuzz
# abiv2_isabelle_ossfuzz
)
endif()

if (OSSFUZZ)
Expand Down Expand Up @@ -158,27 +160,27 @@ if (OSSFUZZ)
set_target_properties(abiv2_proto_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE})
target_compile_options(abiv2_proto_ossfuzz PUBLIC ${COMPILE_OPTIONS} -Wno-sign-conversion -Wno-suggest-destructor-override -Wno-inconsistent-missing-destructor-override -Wno-shorten-64-to-32)

add_executable(abiv2_isabelle_ossfuzz
AbiV2IsabelleFuzzer.cpp
SolidityEvmoneInterface.cpp
../../EVMHost.cpp
protoToAbiV2.cpp
abiV2Proto.pb.cc
)
target_include_directories(abiv2_isabelle_ossfuzz PRIVATE
/usr/include/libprotobuf-mutator
)
target_link_libraries(abiv2_isabelle_ossfuzz PRIVATE solidity
evmc
evmone-standalone
protobuf-mutator-libfuzzer.a
protobuf-mutator.a
protobuf.a
abicoder
gmp.a
)
set_target_properties(abiv2_isabelle_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE})
target_compile_options(abiv2_isabelle_ossfuzz PUBLIC ${COMPILE_OPTIONS} -Wno-sign-conversion -Wno-suggest-destructor-override -Wno-inconsistent-missing-destructor-override -Wno-shorten-64-to-32)
# add_executable(abiv2_isabelle_ossfuzz
# AbiV2IsabelleFuzzer.cpp
# SolidityEvmoneInterface.cpp
# ../../EVMHost.cpp
# protoToAbiV2.cpp
# abiV2Proto.pb.cc
# )
# target_include_directories(abiv2_isabelle_ossfuzz PRIVATE
# /usr/include/libprotobuf-mutator
# )
# target_link_libraries(abiv2_isabelle_ossfuzz PRIVATE solidity
# evmc
# evmone-standalone
# protobuf-mutator-libfuzzer.a
# protobuf-mutator.a
# protobuf.a
# abicoder
# gmp.a
# )
# set_target_properties(abiv2_isabelle_ossfuzz PROPERTIES LINK_FLAGS ${LIB_FUZZING_ENGINE})
# target_compile_options(abiv2_isabelle_ossfuzz PUBLIC ${COMPILE_OPTIONS} -Wno-sign-conversion -Wno-suggest-destructor-override -Wno-inconsistent-missing-destructor-override -Wno-shorten-64-to-32)

add_executable(sol_proto_ossfuzz
solProtoFuzzer.cpp
Expand Down