mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
Prevent detecting void as an argument in manpages
Example: `man 2 getuid`
This commit is contained in:
@@ -320,6 +320,8 @@ class Repository(object):
|
||||
decl = match.group(1)
|
||||
for argm in re.finditer(r"([^* ]*)\s*(,|\))", decl):
|
||||
arg = argm.group(1)
|
||||
if arg == 'void':
|
||||
continue
|
||||
if arg == '...':
|
||||
args += '+ ", ..."'
|
||||
varargs = True
|
||||
|
||||
Reference in New Issue
Block a user