search for: 0xtextaddress

Displaying 2 results from an estimated 2 matches for "0xtextaddress".

2016 Jan 15
0
Debugging with Qemu
...his command will only load the the .text section at the precise address given while syslinux load the full ELF file at the base address module->base_address. But you can give this command all the sections to load and addresses at which to load them with the command: add-symbol-file themodule.elf 0xtextaddress -s .data 0xdataaddress -s .rodata 0xrodataaddress ... And you can get the address of the sections in memory by adding the module base address with the section address found with readelf -S. And if you want to go even further, you can put a breakpoint at com32/lib/sys/module/elf_module.c:282 to kn...
2016 Jan 13
2
Debugging with Qemu
On Wed, Jan 13, 2016 at 01:22:17AM +0100, Celelibi wrote: > 2016-01-12 22:21 UTC+01:00, Tal Lubko: > > On Mon, Jan 11, 2016 at 07:20:20PM -0500, Shao Miller wrote: > >> > >> Yes, you can print debug-output from custom builds. > >> > > > > Regarding my other question (debugging). > > I know it is possible to use prints for debugging. > > I