mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-28 03:54:18 +01:00
idaapi.py: Added sel_array()
idaapi.py: Renamed *Array to *_array idautils.py: Renamed *Array to *_array idc.py: Renamed *Array to *_array
This commit is contained in:
parent
e3a0a26f16
commit
358d85ac46
@ -341,7 +341,7 @@ def GetInputFileMD5():
|
|||||||
|
|
||||||
@return: MD5 string or None on error
|
@return: MD5 string or None on error
|
||||||
"""
|
"""
|
||||||
ua=idaapi.ucharArray(16)
|
ua=idaapi.uchar_array(16)
|
||||||
if idaapi.retrieve_input_file_md5(ua.cast()):
|
if idaapi.retrieve_input_file_md5(ua.cast()):
|
||||||
md5str=""
|
md5str=""
|
||||||
for i in range(16):
|
for i in range(16):
|
||||||
|
@ -1127,7 +1127,7 @@ def OpStroffEx(ea, n, strid, delta):
|
|||||||
between the structure base and the pointer into the structure.
|
between the structure base and the pointer into the structure.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
path = idaapi.tidArray(1)
|
path = idaapi.tid_array(1)
|
||||||
path[0] = strid
|
path[0] = strid
|
||||||
return idaapi.op_stroff(ea, n, path.cast(), 1, delta)
|
return idaapi.op_stroff(ea, n, path.cast(), 1, delta)
|
||||||
|
|
||||||
|
@ -67,9 +67,9 @@ typedef long long longlong;
|
|||||||
// Convert all of these
|
// Convert all of these
|
||||||
%cstring_output_maxstr_none(char *buf, size_t bufsize);
|
%cstring_output_maxstr_none(char *buf, size_t bufsize);
|
||||||
|
|
||||||
%array_class(uchar, ucharArray);
|
%array_class(uchar, uchar_array);
|
||||||
%array_class(tid_t, tidArray);
|
%array_class(tid_t, tid_array);
|
||||||
%array_class(ea_t, eaArray);
|
%array_class(ea_t, ea_array);
|
||||||
%array_class(sel_t, sel_array);
|
%array_class(sel_t, sel_array);
|
||||||
%pointer_class(int, int_pointer);
|
%pointer_class(int, int_pointer);
|
||||||
%pointer_class(ea_t, ea_pointer);
|
%pointer_class(ea_t, ea_pointer);
|
||||||
|
Loading…
Reference in New Issue
Block a user