-
|
I want to parse the parameters of sprintf to determine potential overflow vulnerabilities. For the below functions, calling the get_parameter_at function in x86 and aarch64 can get the correct result: x86 codeAPI example in x86However, MIPS codeAPI example in MIPSI think arg4 should be a constant value 0x400bb8, bu it return here is the binary download link. |
Beta Was this translation helpful? Give feedback.
Answered by
psifertex
Jun 16, 2022
Replies: 1 comment
-
|
I'm not sure why the get_parameter_at isn't working, I'll take a look but I would use this bit of code instead: current_function.get_low_level_il_at(here).mlil.params[4].value.value |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
psifertex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I'm not sure why the get_parameter_at isn't working, I'll take a look but I would use this bit of code instead: