xinyun / idapython

Automatically exported from code.google.com/p/idapython
Other
0 stars 0 forks source link

GetFchunkAttr does not work properly #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?

1. Place cursor to one of the function chunks.
2. run an IDC expression Message("%x\n", GetFchunkAttr(ScreenEA(),
FUNCATTR_END));
3. run a python expression print "%x" % GetFchunkAttr(ScreenEA(),
FUNCATTR_END) 

What is the expected output? What do you see instead?

The result ought to be the same, but the python expression resturns
function start(end) instead of a chunk start(end) for every chunk.

What version of the product are you using? On what operating system?

IDA 5.2, idapython 1.0.0. Windows XP SP3.

Original issue reported on code.google.com by dima...@gmail.com on 23 Jan 2009 at 9:38

GoogleCodeExporter commented 9 years ago
GetFchunkAttr() now calls the IDC version and will return identical results.

Thanks for the report!

Original comment by gergely.erdelyi on 12 Jul 2009 at 3:07