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

Function get_timer_id

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

Source from the content-addressed store, hash-verified

21
22
23static inline int get_timer_id(struct TimerState* timers, struct Timer *tim) {
24 return (uint32_t) (tim - &timers->timers[0]);
25}
26
27void print_timer(struct TimerState* timers, uint32_t id) {
28 struct Timer *t = &timers->timers[id];

Callers 2

print_timer_stateFunction · 0.85
timer_countdown_expiredFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected