MCPcopy Create free account
hub / github.com/codr7/hacktical-c / call_eval

Function call_eval

vm/vm.c:118–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116};
117
118static uint8_t *call_eval(struct hc_vm *vm, uint8_t *data) {
119 struct hc_call_op *op = (void *)hc_align(data, alignof(struct hc_call_op));
120 op->target(vm, op->sloc);
121 return (uint8_t *)op + sizeof(struct hc_call_op);
122}
123
124const struct hc_op HC_CALL = (struct hc_op){
125 .name = "call",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected