[Eresi-cvs] ERESI-SVN:1160:may - commit information

ERESI-SVN Postmaster elfsh-cvs at grid.einherjar.de
Thu Nov 13 22:44:37 UTC 2008



====Comments====

- Added support for constants in decimal, hexadecimal, and symbols in arithmetics!

I love when simplifying the code makes it more powerful. Of course I recoded nothing
special, I just used the existing API at the good place. This will be damn useful
for a variety of commands (all those who can take a symbol in parameter, like
the breakpoint command).

Example:

(elfsh-0.82-a1-dev at local) print 2+3

long  $TMPVAR15 = 0x5 

(elfsh-0.82-a1-dev at local) load /bin/ls

 [*] Thu Nov 13 19:40:50 2008 - New object loaded : /bin/ls
 [*] New object dependences loaded : /lib/librt.so.1
 [*] New object dependences loaded : /lib/libselinux.so.1
 [*] New object dependences loaded : /lib/libacl.so.1
 [*] New object dependences loaded : /lib/libc.so.6
 [*] New object dependences loaded : /lib/libattr.so.1
 [*] New object dependences loaded : /lib/ld-linux.so.2
 [*] New object dependences loaded : /lib/libpthread.so.0
 [*] New object dependences loaded : /lib/libdl.so.2

(elfsh-0.82-a1-dev at local) print malloc

0x80498F0 

(elfsh-0.82-a1-dev at local) print malloc+2

long  $TMPVAR20 = 0x80498F2 

(elfsh-0.82-a1-dev at local) set $heh 3

 [*] Expression set succesfully 

(elfsh-0.82-a1-dev at local) print 0x42+2+$heh

long  $TMPVAR25 = 0x47 

(elfsh-0.82-a1-dev at local) 



====List of Changes====

You may gain more informations checking out our website:

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




More information about the eresi-cvs mailing list