MCPcopy Index your code
hub / github.com/GJDuck/e9patch / entry

Function entry

examples/skip.c:21–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#define WHITE "\33[0m"
20
21void entry(struct STATE *state, size_t size, const char *_asm)
22{
23 fprintf(stderr, RED "%.16lx" WHITE ": " GREEN "%s" WHITE "\n",
24 state->rip, _asm);
25 state->rip += size; // Adjust %rip to next instruction.
26 jump(state); // Jump directly to next instruction.
27
28 // Not reached
29}
30

Callers

nothing calls this directly

Calls 2

fprintfFunction · 0.70
jumpFunction · 0.70

Tested by

no test coverage detected