| 19 | #define WHITE "\33[0m" |
| 20 | |
| 21 | void 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 |