📚 OpenRCE is preserved as a read-only archive. Launched at RECon Montreal in 2005. Registration and posting are disabled.








Flag: Tornado! Hurricane!

 Forums >>  IDA Pro  >>  Segment Prefix and Name of Function

Topic created on: March 24, 2007 04:53 CDT by luckiejacky .

I'd like to ask 2 questions:
1) how do I get the segment prefix if there is one?
2) how do I get the name of the function if the current instruction contain a name?
according to this:
if operand == o_near or operand == o_mem
in the first case
call printf (how do you get printf?)
the second case
mov eax, ds:1001h
how do you get ds and 1001
there are some fields in the header file of the SDK--->

class op_t
{
   char n;
   optype_t type;
   ushort reg;
   uval_t  value;
   ea_t  addr;
};

Where should ds return in?
and what about "call printf"? how to get printf in any of these fields?
Thanks in advance

  luckiejacky   March 24, 2007 05:17.12 CDT
Hi,
I managed to find ua_outop for call printf.
What about on how to get ds if I have
mov eax, ds:1001?

  luckiejacky   March 24, 2007 05:31.36 CDT
And more interestingly,
how to get something like this
mov eax, [esp+eax*8]
Let me know. Thanks
if this is a phrase
do I just parse the strings, or is there a helper for this?

  luckiejacky   March 24, 2007 05:33.03 CDT
Where should esp and eax appear [esp+eax*8]?
Thanks

Note: Registration is required to post to the forums.

There are 31,328 total registered users.


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
let 'IDAPython' impo...
Sep/24
set 'IDAPython' as t...
Sep/24
GuessType return une...
Sep/20
About retrieving the...
Sep/07
How to find specific...
Aug/15
How to get data depe...
Jul/07
Identify RVA data in...
May/06
Question about memor...
Dec/12


Recent Forum Posts
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow
let 'IDAPython' impo...
sohlow
How to find specific...
hackgreti
Problem with ollydbg
sh3dow
How can I write olly...
sh3dow
New LoadMAP plugin v...
mefisto...
Intel pin in loaded ...
djnemo
OOP_RE tool available?
Bl4ckm4n


Recent Blog Entries
halsten
Mar/14
Breaking IonCUBE VM

oleavr
Oct/24
Anatomy of a code tracer

hasherezade
Sep/24
IAT Patcher - new tool for ...

oleavr
Aug/27
CryptoShark: code tracer ba...

oleavr
Jun/25
Build a debugger in 5 minutes

More ...


Recent Blog Comments
nieo on:
Mar/22
IAT Patcher - new tool for ...

djnemo on:
Nov/17
Kernel debugger vs user mod...

acel on:
Nov/14
Kernel debugger vs user mod...

pedram on:
Dec/21
frida.github.io: scriptable...

capadleman on:
Jun/19
Using NtCreateThreadEx for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit