Home
last modified time | relevance | path

Searched refs:ATOMIC_GET (Results 1 – 7 of 7) sorted by relevance

/external/honggfuzz/
Ddisplay.c136 getDuration(curr_sec - ATOMIC_GET(hfuzz->timing.lastCovUpdate), lastCovStr, sizeof(lastCovStr)); in display_displayLocked()
138 if (ATOMIC_GET(hfuzz->timing.runEndTime)) { in display_displayLocked()
139 getDuration(ATOMIC_GET(hfuzz->timing.runEndTime) - curr_sec, timeStr, sizeof(timeStr)); in display_displayLocked()
144 size_t curr_exec_cnt = ATOMIC_GET(hfuzz->cnts.mutationsCnt); in display_displayLocked()
173 switch (ATOMIC_GET(hfuzz->feedback.state)) { in display_displayLocked()
206 uint64_t crashesCnt = ATOMIC_GET(hfuzz->cnts.crashesCnt); in display_displayLocked()
212 ATOMIC_GET(hfuzz->cnts.uniqueCrashesCnt), ATOMIC_GET(hfuzz->cnts.blCrashesCnt), in display_displayLocked()
213 ATOMIC_GET(hfuzz->cnts.verifiedCrashesCnt)); in display_displayLocked()
215 ATOMIC_GET(hfuzz->cnts.timeoutedCnt), (unsigned long)hfuzz->timing.tmOut); in display_displayLocked()
220 hfuzz->io.dynfileqCnt, hfuzz->mutate.maxFileSz, ATOMIC_GET(hfuzz->io.fileCnt)); in display_displayLocked()
[all …]
Dfuzz.c62 if (ATOMIC_GET(termTimeStamp) != 0) { in fuzz_isTerminating()
69 if (ATOMIC_GET(termTimeStamp) != 0) { in fuzz_setTerminating()
76 if (ATOMIC_GET(termTimeStamp) == 0) { in fuzz_shouldTerminate()
79 if ((time(NULL) - ATOMIC_GET(termTimeStamp)) > 5) { in fuzz_shouldTerminate()
86 return ATOMIC_GET(hfuzz->feedback.state); in fuzz_getState()
157 if (ATOMIC_GET(cnt) == run->global->threads.threadsMax) { in fuzz_setDynamicMainState()
197 softCntPc = ATOMIC_GET(run->global->feedback.feedbackMap->pidFeedbackPc[run->fuzzNo]); in fuzz_perfFeedback()
199 softCntEdge = ATOMIC_GET(run->global->feedback.feedbackMap->pidFeedbackEdge[run->fuzzNo]); in fuzz_perfFeedback()
201 softCntCmp = ATOMIC_GET(run->global->feedback.feedbackMap->pidFeedbackCmp[run->fuzzNo]); in fuzz_perfFeedback()
500 if (run.global->cfg.exitUponCrash && ATOMIC_GET(run.global->cnts.crashesCnt) > 0) { in fuzz_threadNew()
[all …]
Dhonggfuzz.c86 if (ATOMIC_GET(sigReceived) != 0) { in sigHandler()
307 if (ATOMIC_GET(sigReceived) > 0) { in main()
308 LOG_I("Signal %d (%s) received, terminating", ATOMIC_GET(sigReceived), in main()
309 strsignal(ATOMIC_GET(sigReceived))); in main()
312 if (ATOMIC_GET(hfuzz.threads.threadsFinished) >= hfuzz.threads.threadsMax) { in main()
326 if (ATOMIC_GET(hfuzz.threads.threadsFinished) >= hfuzz.threads.threadsMax) { in main()
/external/honggfuzz/libhfuzz/
Dinstrument.c126 uint8_t prev = ATOMIC_GET(feedback->bbMapCmp[pos]); in __sanitizer_cov_trace_cmp1()
136 uint8_t prev = ATOMIC_GET(feedback->bbMapCmp[pos]); in __sanitizer_cov_trace_cmp2()
146 uint8_t prev = ATOMIC_GET(feedback->bbMapCmp[pos]); in __sanitizer_cov_trace_cmp4()
156 uint8_t prev = ATOMIC_GET(feedback->bbMapCmp[pos]); in __sanitizer_cov_trace_cmp8()
193 uint8_t prev = ATOMIC_GET(feedback->bbMapCmp[pos]); in __sanitizer_cov_trace_switch()
240 uint8_t prev = ATOMIC_GET(feedback->bbMapCmp[pos]); in __sanitizer_cov_trace_div8()
250 uint8_t prev = ATOMIC_GET(feedback->bbMapCmp[pos]); in __sanitizer_cov_trace_div4()
303 *x = ATOMIC_GET(feedback->pcGuardMap[n]) ? 0U : n; in __sanitizer_cov_trace_pc_guard_init()
348 uint32_t prev = ATOMIC_GET(feedback->bbMapCmp[pos]); in instrumentUpdateCmpMap()
/external/honggfuzz/linux/
Dpt.c136 uint64_t aux_tail = ATOMIC_GET(pem->aux_tail); in arch_ptAnalyze()
137 uint64_t aux_head = ATOMIC_GET(pem->aux_head); in arch_ptAnalyze()
Dperf.c64 uint64_t aux_head = ATOMIC_GET(pem->aux_head); in arch_perfBtsCount()
/external/honggfuzz/libhfcommon/
Dutil.h43 #define ATOMIC_GET(x) __atomic_load_n(&(x), __ATOMIC_SEQ_CST) macro