| 176 | |
| 177 | void *interrupt_trigger_take_snapshot(uc_engine *uc) { |
| 178 | size_t size = uc->fw->num_triggers_inuse * sizeof(struct InterruptTrigger); |
| 179 | InterruptTrigger *result = malloc(size); |
| 180 | memcpy(result, &uc->fw->triggers[0], size); |
| 181 | return result; |
nothing calls this directly
no outgoing calls
no test coverage detected