Closed nazywam closed 7 years ago
Hey,
https://github.com/danielplohmann/apiscout/blob/master/apiscout/IdaTools.py#L72
end = idc.SegEnd(start) works correctly only if our IDA db has only segment, which is sometimes not true.
end = idc.SegEnd(start)
I think scanning till getLastAddress() instead of idc.SegEnd() should do the trick.
getLastAddress()
idc.SegEnd()
Cheers!
just implemented what I meant by my proposed solution. :) Now you can even have segments like 0x400000 - 0x410000 0x440000 - 0x450000
and the gap is handled correctly. ;)
Hey,
https://github.com/danielplohmann/apiscout/blob/master/apiscout/IdaTools.py#L72
end = idc.SegEnd(start)
works correctly only if our IDA db has only segment, which is sometimes not true.I think scanning till
getLastAddress()
instead ofidc.SegEnd()
should do the trick.Cheers!