Use make
to build the binary.
./tracer <program to debug>
- run - runs the program.
- b - sets a new breakpoint at the given address.
- cont - continues execution after encountering a breakpoint.
- r - prints all registers.
Addresses can for instance be fetched using objdump -d <program to debug>
.