@@ -36,7 +36,9 @@ private class MallocAllocationFunction extends AllocationFunction {
36
36
"CRYPTO_malloc" , // CRYPTO_malloc(size_t num, const char *file, int line)
37
37
"CRYPTO_zalloc" , // CRYPTO_zalloc(size_t num, const char *file, int line)
38
38
"CRYPTO_secure_malloc" , // CRYPTO_secure_malloc(size_t num, const char *file, int line)
39
- "CRYPTO_secure_zalloc" // CRYPTO_secure_zalloc(size_t num, const char *file, int line)
39
+ "CRYPTO_secure_zalloc" , // CRYPTO_secure_zalloc(size_t num, const char *file, int line)
40
+ "g_malloc" , // g_malloc (n_bytes);
41
+ "g_try_malloc" // g_try_malloc(n_bytes);
40
42
] ) and
41
43
sizeArg = 0
42
44
or
@@ -139,7 +141,9 @@ private class ReallocAllocationFunction extends AllocationFunction, TaintFunctio
139
141
// --- Windows COM allocation
140
142
"CoTaskMemRealloc" , // CoTaskMemRealloc(ptr, size)
141
143
// --- OpenSSL memory allocation
142
- "CRYPTO_realloc" // CRYPTO_realloc(void *addr, size_t num, const char *file, int line)
144
+ "CRYPTO_realloc" , // CRYPTO_realloc(void *addr, size_t num, const char *file, int line)
145
+ "g_realloc" , // g_realloc(mem, n_bytes);
146
+ "g_try_realloc" // g_try_realloc(mem, n_bytes);
143
147
] ) and
144
148
sizeArg = 1 and
145
149
reallocArg = 0
0 commit comments