Check .eh_frame
and .debug_frame
information.
Dependencies:
- GCC
objtool
from the Linux kernel treedareog
pyelftools
- Csmith (optional)
- C-Reduce (optional)
Usage:
bin/dwarf-orc-crosscheck.sh test.c
(You can set CC
, OBJTOOL
and DAREOG
environment variables to paths to
these tools)
Csmith example usage:
env CC=gcc CFLAGS="-I/usr/include/csmith-2.3.0/ -w -O2" OBJTOOL=../../linux/tools/objtool/objtool OBJTOOLFLAGS="--no-fp" DAREOG=../../dareog/build/dareog bin/dwarf-orc-csmith.sh
MIT