From 39fcdf22c36a00ce2d4b82c3333974aceb14014b Mon Sep 17 00:00:00 2001 From: Bhargava Shastry Date: Thu, 11 Mar 2021 15:29:48 +0100 Subject: [PATCH] Fix storage order in evmhost. --- test/tools/ossfuzz/solc_ossfuzz.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/tools/ossfuzz/solc_ossfuzz.cpp b/test/tools/ossfuzz/solc_ossfuzz.cpp index 929e526c1..bfc599f33 100644 --- a/test/tools/ossfuzz/solc_ossfuzz.cpp +++ b/test/tools/ossfuzz/solc_ossfuzz.cpp @@ -141,6 +141,9 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* _data, size_t _size) ostringstream newCodeGen; newCodeGen << pOpt.state(); + cout << oldCodeGen.str() << endl; + cout << newCodeGen.str() << endl; + solAssert(oldCodeGen.str() == newCodeGen.str(), "Old and new code gen state do not match."); return 0; }