Skip to content

Instantly share code, notes, and snippets.

@ellcs
Last active November 11, 2023 13:28
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ellcs/e6c15917ea34bfa23fdbec63ec76e573 to your computer and use it in GitHub Desktop.
List(
Identifier(
id = 8832L,
argumentIndex = 1,
argumentName = None,
code = "used",
columnNumber = Some(value = 3),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 633),
name = "used",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"_pam_assemble_line",
"libpam/pam_handlers.c:<global>"
)
i.O.
List(
Identifier(
id = 11977L,
argumentIndex = 1,
argumentName = None,
code = "l",
columnNumber = Some(value = 5),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 182),
name = "l",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"_pam_mkargv",
"libpam/pam_misc.c:<global>"
)
im auge behalten
List(
Identifier(
id = 12214L,
argumentIndex = 1,
argumentName = None,
code = "len",
columnNumber = Some(value = 6),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 282),
name = "len",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"_pam_parse_control",
"libpam/pam_misc.c:<global>"
)
anschauen
List(
Identifier(
id = 18390L,
argumentIndex = 1,
argumentName = None,
code = "length",
columnNumber = Some(value = 5),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 267),
name = "length",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"pamc_load",
"libpamc/pamc_load.c:<global>"
)
no false positive
List(
Identifier(
id = 19853L,
argumentIndex = 1,
argumentName = None,
code = "end",
columnNumber = Some(value = 15),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 451),
name = "end",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"login_access",
"modules/pam_access/pam_access.c:<global>"
)
no false positive
List(
Identifier(
id = 21442L,
argumentIndex = 1,
argumentName = None,
code = "length",
columnNumber = Some(value = 6),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 43),
name = "length",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"parse_args",
"modules/pam_debug/pam_debug.c:<global>"
)
no false positive
List(
Identifier(
id = 37568L,
argumentIndex = 1,
argumentName = None,
code = "size",
columnNumber = Some(value = 6),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 120),
name = "size",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"process_args",
"modules/pam_filter/pam_filter.c:<global>"
)
no false positive
List(
Identifier(
id = 58952L,
argumentIndex = 1,
argumentName = None,
code = "namelen",
columnNumber = Some(value = 9),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 210),
name = "namelen",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"expand_variables",
"modules/pam_namespace/pam_namespace.c:<global>"
)
Kann var_names[i] ein \0 enthalten?
List(
Identifier(
id = 59029L,
argumentIndex = 1,
argumentName = None,
code = "namelen",
columnNumber = Some(value = 9),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 228),
name = "namelen",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"expand_variables",
"modules/pam_namespace/pam_namespace.c:<global>"
)
Kann var_names[i] ein \0 enthalten?
List(
Identifier(
id = 59658L,
argumentIndex = 1,
argumentName = None,
code = "namelen",
columnNumber = Some(value = 7),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 422),
name = "namelen",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"parse_method",
"modules/pam_namespace/pam_namespace.c:<global>"
)
no false positive
List(
Identifier(
id = 60060L,
argumentIndex = 1,
argumentName = None,
code = "len",
columnNumber = Some(value = 5),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 576),
name = "len",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"process_line",
"modules/pam_namespace/pam_namespace.c:<global>"
)
no false positive
List(
Identifier(
id = 97460L,
argumentIndex = 1,
argumentName = None,
code = "userlen",
columnNumber = Some(value = 7),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 323),
name = "userlen",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"_unix_getpwnam",
"modules/pam_unix/support.c:<global>"
)
no false positive: userlen, buflen
List(
Identifier(
id = 98047L,
argumentIndex = 1,
argumentName = None,
code = "len",
columnNumber = Some(value = 10),
dynamicTypeHintFullName = ArraySeq(),
lineNumber = Some(value = 550),
name = "len",
order = 1,
possibleTypes = ArraySeq(),
typeFullName = "int"
),
"_unix_run_helper_binary",
"modules/pam_unix/support.c:<global>"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment