Skip to content

Commit

Permalink
tools: fix ida c signature parser
Browse files Browse the repository at this point in the history
It failed to recognize function pointer arguments.
  • Loading branch information
rr- committed Oct 22, 2024
1 parent 8463d1e commit 229c17c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/shared/ida_progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
function_name = identifier
parameters = ("(" _ "void" _ ")") / ("(" _ (parameter_list?) _ ")")
parameter_list = parameter _ ("," _ parameter _)*
parameter = function_decl / var_decl
parameter = decl / type
qualifier = ~"const|__cdecl|__stdcall|__thiscall|__fastcall"
array_subscript = (_ "[" number? "]")*
Expand Down

0 comments on commit 229c17c

Please sign in to comment.