feat: add chdir to the list of bad functions

This commit is contained in:
raptor
2026-01-15 10:27:48 +01:00
committed by GitHub
parent 3fe7ebad98
commit e6c253b6b3
+1 -1
View File
@@ -161,7 +161,7 @@ public class Rhabdomancer extends GhidraScript
"kmalloc", "kmalloc_array", "kcalloc", "kzalloc", "mallocarray",
"free", "_free", "kfree", // check for incorrect use, double free, use after free
// check for file access bugs
"mkdir", "creat",
"mkdir", "chdir", "creat",
"link", "linkat", "symlink", "symlinkat", "readlink", "readlinkat", "unlink", "unlinkat", "realpath", "PathAppend",
"rename", "renameat",
"stat", "lstat", "fstat", "fstatat",