IDAPython 1.5.1

- Introduced the CLI '?' pseudo-command to retrieve doc strings
- Introduced the CLI '!' pseudo-command to shell execute a command
- Added IDP/assemble notification event
- bugfix: High 64 bit addresses were not parsed correctly in IDA64
- bugfix: AskUsingForm() C function was not wrapped by SWIG
- NextHead()/PrevHead() have optional 2nd parameter now
This commit is contained in:
elias.bachaalany
2011-04-21 14:23:46 +00:00
parent 58a002ce5b
commit 8375368d6d
8 changed files with 178 additions and 24 deletions

View File

@@ -1644,12 +1644,9 @@ def GetInputMD5():
@return: MD5 string or None on error
"""
ua=idaapi.uchar_array(16)
ua = idaapi.uchar_array(16)
if idaapi.retrieve_input_file_md5(ua.cast()):
md5str=""
for i in range(16):
md5str += "%02x" % ua[i]
return md5str
return "".join(["%02X" % ua[i] for i in xrange(16)])
else:
return None