[framework] A little offtopic: Get EIP

Clemens Kolbitsch clemens.kol at gmx.at
Tue Jun 26 05:11:28 CDT 2007


ok sorry... just a short second question:

i need to obtain the eip obviously, to find the offset to a second 
payload that i copy somewhere (it is appended to the first payload and i 
jump somewhere before reaching this part..).

what i would really like to do is directly add my assembler code of the 
second payload to the end of the c-source of the first. however, this 
payload also includes strings. i thought that that was no problem if i use

__asm("db MYCHAR");

however, i get that the db instruction is not valid... can it only be 
used inside the DATA part of a program or what am i doing wrong??

i know... i can still simply copy it there using some hex-editor, but 
with frequent changes during development, this is annoying...

again... thanks for any help and sorry for the offtopic :-)



More information about the framework mailing list