Remove dead code.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold
2018-06-30 08:36:50 +00:00
parent e9f0056b28
commit c0e3ff3da9

View File

@@ -1,9 +1,5 @@
BEGIN {
file = "";
if (audit != "")
stupid_functions_regexp="^(gets|mktemp|tempnam|tmpnam|strcpy|strcat|sprintf)$";
else
stupid_functions_regexp="^(gets|mktemp|tempnam|tmpnam)$";
split("", stupid_binaries);
split("", network_binaries);
split("", setuid_binaries);
@@ -18,7 +14,6 @@ FILENAME ~ /\.flattened$/ {
FILENAME ~ /\.objdump$/ {
if (match($0, /: +file format [^ ]+$/)) {
file = substr($0, 1, RSTART - 1);
stupid_functions = "";
next;
}
if (file == "")