[Eresi-cvs] ERESI-SVN:1187:camoroz0 - commit information

ERESI-SVN Postmaster elfsh-cvs at grid.einherjar.de
Wed Nov 26 15:17:19 UTC 2008



====Comments====

The set/remove bp is not the same for a gdbserver or for a VM. The
handler is changed based on the file we analyze (vmlinux => vm). When we encounter a bp, EIP stops where the BP is (and not eip + 1).

For some reason, all the breakpoints set BEFORE 0x11000 are lost. The way of doing (for now) is:

./kedbg32 localhost 8832 vmlinux
~quiet 
 [*][*] Set ELFsh default color theme (use nocolor to disable) 

 [*] /home/camoroz0/.kedbgrc sourcing -OK- 
 [*] Wed Nov 26 16:10:32 2008 - New object loaded : vmlinux
(kedbg-0.82-a8-dev at local) cont

[*] Continuing process
The value of eip: 0x11000

 [!] No breakpoint set at addr 00011000 

(kedbg-0.82-a8-dev at local) 


There is a hidden bp at 0x11000 actually.


We do have an issue now with (in cmd.c => continue)

 kedbg_readmema(NULL, (eresi_Addr)loc->reg32.eip - off, instr, 20 + off);
 revm_instr_display(-1, off, loc->reg32.eip, 0, 20, name, off, instr);


 Here we want to read 20 + off bytes, which is too big (ie ~65KB). The VM does not allow us to do that.
 


====List of Changes====

You may gain more informations checking out our website:

http://www.eresi-project.org/changeset/1187




More information about the eresi-cvs mailing list