- gv is used to handle vmcore which is generated when linux crashed, accordingly you can debug vmcore with gdb
- usage:
- gcc gv.c -o gv && gv your_vmcore. And gv will print the kernel image offset if ASLR enabled.
- gdb empty_elf your_vmcore. After enter gdb, and then run source kernel image -o $offset which was printed by gv.
- gv will modify your vmcore, so you may need to back up your vmcore(cp vmcore vmcorebak)