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







