You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By reading ghidra's source code, I found ghidra simply by "ParamListStandard: : possibleParam" and "ParamListStandardOut: : possibleParam" to figure out whether the current address and size of the corresponding varnode parameters or return values . I am curious, is this judgment method just a simple judgment according to the parameter passing rules, for example, under x64, the first 6 registers are rdi, rsi, rdx, rcx, r8, r9, and the rest of the addresses on the stack are other parameters?
What should I do if I want to quickly implement my own pass rules?
This discussion was converted from issue #7370 on January 13, 2025 21:52.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
By reading ghidra's source code, I found ghidra simply by "ParamListStandard: : possibleParam" and "ParamListStandardOut: : possibleParam" to figure out whether the current address and size of the corresponding varnode parameters or return values . I am curious, is this judgment method just a simple judgment according to the parameter passing rules, for example, under x64, the first 6 registers are rdi, rsi, rdx, rcx, r8, r9, and the rest of the addresses on the stack are other parameters?
What should I do if I want to quickly implement my own pass rules?
Beta Was this translation helpful? Give feedback.
All reactions