Removed debuggin symbols and indirect symbol pointers. Added calloc and strchr to builtins
This commit is contained in:
parent
f935be10c9
commit
06e6bf31f4
|
@ -14,14 +14,16 @@ BEGIN {
|
|||
builtin["printf"] = "int printf(const char *, ...)";
|
||||
builtin["sprintf"] = "int sprintf(char *, const char *, ...)";
|
||||
builtin["malloc"] = "void *malloc()";
|
||||
builtin["calloc"] = "void *calloc()";
|
||||
builtin["memcpy"] = "void *memcpy()";
|
||||
builtin["memset"] = "void *memset()";
|
||||
builtin["memmove"] = "void *memmove()";
|
||||
builtin["strcpy"] = "char *strcpy()";
|
||||
builtin["strchr"] = "char *strchr()";
|
||||
builtin[""] = "";
|
||||
}
|
||||
|
||||
/^[0123456789abcdef]+ [ABCDGINRSTUVW] / {
|
||||
/^[0123456789abcdef]+ [ABCDGRSTUVW] / {
|
||||
if ($3 != "symbols" && $3 != "symbols_nelts") {
|
||||
name[nname] = $3;
|
||||
nname++;
|
||||
|
|
Loading…
Reference in a new issue