| 22 | BF_IMPORT void BF_CALLTYPE IDEHelper_ProgramDone(); |
| 23 | |
| 24 | static void FuzzInit() |
| 25 | { |
| 26 | BfpSystem_SetCommandLine(0, NULL); |
| 27 | |
| 28 | BfpThread_SetName(NULL, "MainThread", NULL); |
| 29 | |
| 30 | BfpSystem_Init(BFP_VERSION, BfpSystemInitFlag_None); |
| 31 | |
| 32 | IDEHelper_ProgramStart(); |
| 33 | |
| 34 | gApp = new FuzzApp(); |
| 35 | gApp->SetTargetPath("fuzz_testd"); |
| 36 | gApp->AddDefine("CLI"); |
| 37 | gApp->AddDefine("DEBUG"); |
| 38 | gApp->SetStartupObject("fuzz_test.Program"); |
| 39 | gApp->SetLinkParams("./libBeefRT_d.a ./libBeefySysLib_d.so -ldl -lpthread -Wl,-rpath -Wl,$ORIGIN"); |
| 40 | |
| 41 | BF_ASSERT(gApp->Init()); |
| 42 | } |
| 43 | |
| 44 | void trimwhitespace(const uint8_t*& str, size_t& len) |
| 45 | { |
no test coverage detected