jevey / idapython

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

idautils.Strings() return incorrect results #78

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open notepad.exe in ida 6.1, wait for analyzing done
2. run examples\ex_strings.py
3. look at the results in output window, strings tail is incorrect, quotes' 
missing

What is the expected output?
...
10013d8: len=15 type=0 index=4-> 'RegisterPenApp'
...

What do you see instead?
...
10013d8: len=15 type=0 index=4-> 'RegisterPenApp
...

What version of the product are you using? On what operating system?
idapython-1.5.2.3_ida6.1_py2.6_win32

Please provide any additional information below.
When compare the string later, results is incorrect too. Like this:
if cmp(str(i), "RegisterPenApp") == 0:
...
Which will not behave normally, it'll be false all the time.

Original issue reported on code.google.com by shenlian...@gmail.com on 7 Dec 2011 at 9:13