Replies: 4 comments
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
Changing the function prototype doesn't work either.
We want to change the type of argument import ida_typeinf
func_addr = 0x1150
func_tif = ida_typeinf.tinfo_t()
ida_typeinf.guess_tinfo(func_tif, func_addr)
funcdata = ida_typeinf.func_type_data_t()
func_tif.get_func_details(funcdata)
# change funcdata[1].type and funcdata[1].name, then call apply_tinfo()
# but len(funcdata) == 0
assert len(funcdata) > 1
# Traceback (most recent call last):
# File "<string>", line 1, in <module>
# AssertionError |
Beta Was this translation helpful? Give feedback.
0 replies
-
FYI: I preloaded The examples above were applied to the following file: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I will give here some examples of usage
idasdk
that works for x86 (32, 64) but does not work for Aarch64.Beta Was this translation helpful? Give feedback.
All reactions