Hello,I have a problem. When I modify CFLAGS and debug with gdb, there is no debug information.
My CFLAGS is -g -nostdlib -Wl, -T$(LINKSCRIPT). It can trigger a vulnerability in qemu, ensuring that it compiles without errors. But when I modified the kernel(6.1.25) locally to execute exploit, the replication failed, and the -g argument had no debug information. Code address and heap address leaks have not been triggered.
Thanks a lot.
Hello,I have a problem. When I modify CFLAGS and debug with gdb, there is no debug information. My CFLAGS is -g -nostdlib -Wl, -T$(LINKSCRIPT). It can trigger a vulnerability in qemu, ensuring that it compiles without errors. But when I modified the kernel(6.1.25) locally to execute exploit, the replication failed, and the -g argument had no debug information. Code address and heap address leaks have not been triggered. Thanks a lot.