Home
last modified time | relevance | path

Searched refs:run_t (Results 1 – 25 of 25) sorted by relevance

/external/honggfuzz/
Dmangle.c42 static inline void mangle_Overwrite(run_t* run, const uint8_t* src, size_t off, size_t sz) { in mangle_Overwrite()
51 static inline void mangle_Move(run_t* run, size_t off_from, size_t off_to, size_t len) { in mangle_Move()
72 static void mangle_Inflate(run_t* run, size_t off, size_t len) { in mangle_Inflate()
84 static void mangle_MemMove(run_t* run) { in mangle_MemMove()
92 static void mangle_Byte(run_t* run) { in mangle_Byte()
97 static void mangle_PrintableByte(run_t* run) { in mangle_PrintableByte()
102 static void mangle_Bytes(run_t* run) { in mangle_Bytes()
111 static void mangle_PrintableBytes(run_t* run) { in mangle_PrintableBytes()
121 static void mangle_Bit(run_t* run) { in mangle_Bit()
126 static void mangle_BitPrintable(run_t* run) { in mangle_BitPrintable()
[all …]
Darch.h29 extern bool arch_launchChild(run_t* run);
33 extern bool arch_archThreadInit(run_t* run);
35 extern pid_t arch_fork(run_t* run);
37 extern void arch_reapChild(run_t* run);
39 extern void arch_prepareParent(run_t* run);
41 extern void arch_prepareParentAfterFork(run_t* run);
Dinput.h29 extern void input_setSize(run_t* run, size_t sz);
30 extern bool input_getNext(run_t* run, char* fname, bool rewind);
34 extern bool input_prepareDynamicInput(run_t* run);
35 extern bool input_prepareStaticFile(run_t* run, bool rewind);
36 extern bool input_prepareExternalFile(run_t* run);
37 extern bool input_postProcessFile(run_t* run);
Dsubproc.h38 extern bool subproc_Run(run_t* run);
40 extern bool subproc_persistentModeStateMachine(run_t* run);
42 extern uint8_t subproc_System(run_t* run, const char* const argv[]);
44 extern void subproc_checkTimeLimit(run_t* run);
46 extern void subproc_checkTermination(run_t* run);
Dsocketfuzzer.h3 bool fuzz_waitForExternalInput(run_t* run);
5 bool fuzz_prepareSocketFuzzer(run_t* run);
6 int fuzz_waitforSocketFuzzer(run_t* run);
9 bool fuzz_notifySocketFuzzerCrash(run_t* run);
Dsocketfuzzer.c36 bool fuzz_waitForExternalInput(run_t* run) { in fuzz_waitForExternalInput()
52 bool fuzz_prepareSocketFuzzer(run_t* run) { in fuzz_prepareSocketFuzzer()
71 int fuzz_waitforSocketFuzzer(run_t* run) { in fuzz_waitforSocketFuzzer()
109 bool fuzz_notifySocketFuzzerCrash(run_t* run) { in fuzz_notifySocketFuzzerCrash()
Dsubproc.c126 static bool subproc_persistentSendFileIndicator(run_t* run) { in subproc_persistentSendFileIndicator()
135 static bool subproc_persistentGetReady(run_t* run) { in subproc_persistentGetReady()
149 bool subproc_persistentModeStateMachine(run_t* run) { in subproc_persistentModeStateMachine()
187 static bool subproc_PrepareExecv(run_t* run) { in subproc_PrepareExecv()
298 static bool subproc_New(run_t* run) { in subproc_New()
379 bool subproc_Run(run_t* run) { in subproc_Run()
393 uint8_t subproc_System(run_t* run, const char* const argv[]) { in subproc_System()
455 void subproc_checkTimeLimit(run_t* run) { in subproc_checkTimeLimit()
484 void subproc_checkTermination(run_t* run) { in subproc_checkTermination()
Dreport.c39 static void report_printdynFileMethod(run_t* run) { in report_printdynFileMethod()
58 static void report_printTargetCmd(run_t* run) { in report_printTargetCmd()
66 void report_Report(run_t* run) { in report_Report()
Dinput.c55 void input_setSize(run_t* run, size_t sz) { in input_setSize()
134 bool input_getNext(run_t* run, char* fname, bool rewind) { in input_getNext()
315 bool input_prepareDynamicInput(run_t* run) { in input_prepareDynamicInput()
341 bool input_prepareStaticFile(run_t* run, bool rewind) { in input_prepareStaticFile()
361 bool input_prepareExternalFile(run_t* run) { in input_prepareExternalFile()
394 bool input_postProcessFile(run_t* run) { in input_postProcessFile()
Dfuzz.c143 static void fuzz_setDynamicMainState(run_t* run) { in fuzz_setDynamicMainState()
180 static void fuzz_perfFeedback(run_t* run) { in fuzz_perfFeedback()
241 static bool fuzz_runVerifier(run_t* run) { in fuzz_runVerifier()
309 static bool fuzz_fetchInput(run_t* run) { in fuzz_fetchInput()
351 static void fuzz_fuzzLoop(run_t* run) { in fuzz_fuzzLoop()
386 static void fuzz_fuzzLoopSocket(run_t* run) { in fuzz_fuzzLoopSocket()
445 run_t run = { in fuzz_threadNew()
Dreport.h29 extern void report_Report(run_t* run);
Dmangle.h29 extern void mangle_mangleContent(run_t* run);
Dhonggfuzz.h359 } run_t; typedef
/external/honggfuzz/linux/
Dtrace.h37 extern bool arch_traceEnable(run_t* run);
38 extern void arch_traceAnalyze(run_t* run, int status, pid_t pid);
39 extern void arch_traceExitAnalyze(run_t* run, pid_t pid);
40 extern bool arch_traceAttach(run_t* run);
42 extern void arch_traceGetCustomPerf(run_t* run, pid_t pid, uint64_t* cnt);
43 extern void arch_traceSetCustomPerf(run_t* run, pid_t pid, uint64_t cnt);
Dperf.h30 extern bool arch_perfOpen(run_t* run);
31 extern void arch_perfClose(run_t* run);
32 extern bool arch_perfEnable(run_t* run);
33 extern void arch_perfAnalyze(run_t* run);
Darch.c87 pid_t arch_fork(run_t* run) { in arch_fork()
102 bool arch_launchChild(run_t* run) { in arch_launchChild()
183 static bool arch_attachToNewPid(run_t* run) { in arch_attachToNewPid()
192 void arch_prepareParentAfterFork(run_t* run) { in arch_prepareParentAfterFork()
218 void arch_prepareParent(run_t* run) { in arch_prepareParent()
224 static bool arch_checkWait(run_t* run) { in arch_checkWait()
258 void arch_reapChild(run_t* run) { in arch_reapChild()
428 bool arch_archThreadInit(run_t* run) { in arch_archThreadInit()
Dperf.c56 __attribute__((hot)) static inline void arch_perfBtsCount(run_t* run) { in arch_perfBtsCount()
92 static inline void arch_perfMmapParse(run_t* run HF_ATTR_UNUSED) { in arch_perfMmapParse()
116 static bool arch_perfCreate(run_t* run, pid_t pid, dynFileMethod_t method, int* perfFd) { in arch_perfCreate()
216 bool arch_perfOpen(run_t* run) { in arch_perfOpen()
259 void arch_perfClose(run_t* run) { in arch_perfClose()
291 bool arch_perfEnable(run_t* run) { in arch_perfEnable()
316 static void arch_perfMmapReset(run_t* run) { in arch_perfMmapReset()
329 void arch_perfAnalyze(run_t* run) { in arch_perfAnalyze()
Dpt.c95 __attribute__((hot)) inline static void perf_ptAnalyzePkt(run_t* run, struct pt_packet* packet) { in perf_ptAnalyzePkt()
133 void arch_ptAnalyze(run_t* run) { in arch_ptAnalyze()
187 void arch_ptAnalyze(run_t* fuzzer HF_ATTR_UNUSED) { in arch_ptAnalyze()
Dtrace.c539 static void arch_hashCallstack(run_t* run, funcs_t* funcs, size_t funcCnt, bool enableMasking) { in arch_hashCallstack()
567 pid_t pid, run_t* run, funcs_t* funcs, size_t funcCnt, siginfo_t* si, const char* instr) { in arch_traceGenerateReport()
607 static void arch_traceAnalyzeData(run_t* run, pid_t pid) { in arch_traceAnalyzeData()
651 static void arch_traceSaveData(run_t* run, pid_t pid) { in arch_traceSaveData()
848 run_t* run, pid_t pid, funcs_t* funcs, void** crashAddr, char** op) { in arch_parseAsanReport()
975 static void arch_traceExitSaveData(run_t* run, pid_t pid) { in arch_traceExitSaveData()
1109 static void arch_traceExitAnalyzeData(run_t* run, pid_t pid) { in arch_traceExitAnalyzeData()
1135 void arch_traceExitAnalyze(run_t* run, pid_t pid) { in arch_traceExitAnalyze()
1146 static void arch_traceEvent(run_t* run, int status, pid_t pid) { in arch_traceEvent()
1176 void arch_traceAnalyze(run_t* run, int status, pid_t pid) { in arch_traceAnalyze()
[all …]
Dpt.h29 extern void arch_ptAnalyze(run_t* run);
/external/honggfuzz/netbsd/
Dtrace.h37 extern bool arch_traceEnable(run_t* run);
38 extern void arch_traceAnalyze(run_t* run, int status, pid_t pid);
39 extern void arch_traceExitAnalyze(run_t* run, pid_t pid);
40 extern bool arch_traceAttach(run_t* run);
42 extern void arch_traceGetCustomPerf(run_t* run, pid_t pid, uint64_t* cnt);
43 extern void arch_traceSetCustomPerf(run_t* run, pid_t pid, uint64_t cnt);
Darch.c64 pid_t arch_fork(run_t* run HF_ATTR_UNUSED) { in arch_fork()
76 bool arch_launchChild(run_t* run) { in arch_launchChild()
121 void arch_prepareParentAfterFork(run_t* run) { in arch_prepareParentAfterFork()
133 void arch_prepareParent(run_t* run HF_ATTR_UNUSED) { in arch_prepareParent()
136 static bool arch_checkWait(run_t* run) { in arch_checkWait()
176 void arch_reapChild(run_t* run) { in arch_reapChild()
228 bool arch_archThreadInit(run_t* run) { in arch_archThreadInit()
Dtrace.c240 run_t* run, funcs_t* funcs HF_ATTR_UNUSED, size_t funcCnt, bool enableMasking) { in arch_hashCallstack()
268 pid_t pid, run_t* run, funcs_t* funcs, size_t funcCnt, siginfo_t* si, const char* instr) { in arch_traceGenerateReport()
289 static void arch_traceAnalyzeData(run_t* run, pid_t pid) { in arch_traceAnalyzeData()
332 static void arch_traceSaveData(run_t* run, pid_t pid) { in arch_traceSaveData()
521 static void arch_traceEvent(run_t* run HF_ATTR_UNUSED, pid_t pid) { in arch_traceEvent()
598 void arch_traceAnalyze(run_t* run, int status, pid_t pid) { in arch_traceAnalyze()
671 bool arch_traceAttach(run_t* run) { in arch_traceAttach()
/external/honggfuzz/posix/
Darch.c83 static void arch_analyzeSignal(run_t* run, int status) { in arch_analyzeSignal()
142 pid_t arch_fork(run_t* fuzzer HF_ATTR_UNUSED) { in arch_fork()
146 bool arch_launchChild(run_t* run) { in arch_launchChild()
181 void arch_prepareParent(run_t* fuzzer HF_ATTR_UNUSED) { in arch_prepareParent()
184 void arch_prepareParentAfterFork(run_t* fuzzer HF_ATTR_UNUSED) { in arch_prepareParentAfterFork()
187 static bool arch_checkWait(run_t* run) { in arch_checkWait()
229 void arch_reapChild(run_t* run) { in arch_reapChild()
282 bool arch_archThreadInit(run_t* fuzzer HF_ATTR_UNUSED) { in arch_archThreadInit()
/external/honggfuzz/mac/
Darch.c94 run_t g_fuzzer_crash_information[PID_MAX + 1];
159 static void arch_generateReport(run_t* run, int termsig) { in arch_generateReport()
185 static bool arch_analyzeSignal(run_t* run, int status) { in arch_analyzeSignal()
294 pid_t arch_fork(run_t* run HF_ATTR_UNUSED) { in arch_fork()
298 bool arch_launchChild(run_t* run) { in arch_launchChild()
359 void arch_prepareParent(run_t* run HF_ATTR_UNUSED) { in arch_prepareParent()
362 void arch_prepareParentAfterFork(run_t* run HF_ATTR_UNUSED) { in arch_prepareParentAfterFork()
365 void arch_reapChild(run_t* run) { in arch_reapChild()
724 run_t* run = &g_fuzzer_crash_information[pid]; in catch_mach_exception_raise_state_identity()
787 bool arch_archThreadInit(run_t* run HF_ATTR_UNUSED) { in arch_archThreadInit()