MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / curr_val

Function curr_val

icicle-cortexm/fuzzware-native/timer.c:306–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306uint64_t curr_val(struct TimerState* timers, uint32_t id) {
307 if(id >= MAX_TIMERS) {
308 perror("[TIMER ERROR] curr_val: Too high id passed\n");
309 exit(-1);
310 }
311 return timers->timers[id].ticker_val;
312}
313
314uint64_t get_global_ticker(uc_engine *uc) {
315 sync_timers(uc);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected