mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Clean up includes in the fuzzer
This commit is contained in:
parent
0e2b43e141
commit
1276f3c4f3
@ -19,11 +19,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <test/tools/fuzzer_common.h>
|
#include <test/tools/fuzzer_common.h>
|
||||||
|
|
||||||
|
#include <libdevcore/CommonIO.h>
|
||||||
|
|
||||||
#include <boost/program_options.hpp>
|
#include <boost/program_options.hpp>
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace dev;
|
using namespace dev;
|
||||||
using namespace dev::eth;
|
|
||||||
|
|
||||||
namespace po = boost::program_options;
|
namespace po = boost::program_options;
|
||||||
|
|
||||||
@ -98,4 +103,4 @@ Allowed options)",
|
|||||||
FuzzerUtil::testCompiler(input, !arguments.count("without-optimizer"), quiet);
|
FuzzerUtil::testCompiler(input, !arguments.count("without-optimizer"), quiet);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <test/tools/fuzzer_common.h>
|
#include <test/tools/fuzzer_common.h>
|
||||||
#include <libdevcore/CommonData.h>
|
|
||||||
|
#include <libdevcore/JSON.h>
|
||||||
|
#include <libevmasm/Assembly.h>
|
||||||
|
#include <libevmasm/ConstantOptimiser.h>
|
||||||
|
#include <libsolc/libsolc.h>
|
||||||
|
|
||||||
|
#include <sstream>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace dev;
|
using namespace dev;
|
||||||
|
@ -15,16 +15,7 @@
|
|||||||
along with solidity. If not, see <http://www.gnu.org/licenses/>.
|
along with solidity. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <libdevcore/CommonIO.h>
|
|
||||||
#include <libevmasm/Assembly.h>
|
|
||||||
#include <libsolc/libsolc.h>
|
|
||||||
#include <libevmasm/ConstantOptimiser.h>
|
|
||||||
|
|
||||||
#include <libdevcore/JSON.h>
|
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sstream>
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
struct FuzzerUtil
|
struct FuzzerUtil
|
||||||
{
|
{
|
||||||
@ -32,4 +23,4 @@ struct FuzzerUtil
|
|||||||
static void testCompiler(std::string const& _input, bool _optimize, bool _quiet);
|
static void testCompiler(std::string const& _input, bool _optimize, bool _quiet);
|
||||||
static void testConstantOptimizer(std::string const& _input, bool _quiet);
|
static void testConstantOptimizer(std::string const& _input, bool _quiet);
|
||||||
static void testStandardCompiler(std::string const& _input, bool _quiet);
|
static void testStandardCompiler(std::string const& _input, bool _quiet);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user