So, we have the Line. Which can be (in IDA) a code or a data or unknown.
So, it would be natural to write:
l = sark.Line(ea)
if l.is_code:
i = l.code
if i.is_call:
aaa
or perhaps:
l = sark.Line(ea)
if l.is_data:
d = l.data
if d.is_string:
xxxx
elif d.is_qword:
yyy
elif d.is_struct:
zzz
while we have the Instruction type, which we could return on line.code property, we don't have a Data type to wrap the line.data.
So, how about adding it?
What do you think about it?
So, we have the Line. Which can be (in IDA) a code or a data or unknown.
So, it would be natural to write:
or perhaps:
while we have the Instruction type, which we could return on line.code property, we don't have a Data type to wrap the line.data.
So, how about adding it?
What do you think about it?