summaryrefslogtreecommitdiffstats
path: root/src/btparser/normalize_glibc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/btparser/normalize_glibc.c')
-rw-r--r--src/btparser/normalize_glibc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/btparser/normalize_glibc.c b/src/btparser/normalize_glibc.c
index ea40ba9d..3a2dbcf7 100644
--- a/src/btparser/normalize_glibc.c
+++ b/src/btparser/normalize_glibc.c
@@ -106,7 +106,10 @@ btp_normalize_glibc_thread(struct btp_thread *thread)
btp_frame_calls_func(frame, "___vsnprintf_chk") ||
btp_frame_calls_func(frame, "__snprintf_chk") ||
btp_frame_calls_func(frame, "___snprintf_chk") ||
- btp_frame_calls_func(frame, "__vasprintf_chk");
+ btp_frame_calls_func(frame, "__vasprintf_chk") ||
+ btp_frame_calls_func_in_file(frame, "malloc_consolidate", "malloc.c") ||
+ btp_frame_calls_func_in_file(frame, "_int_malloc", "malloc.c") ||
+ btp_frame_calls_func_in_file(frame, "__libc_calloc", "malloc.c");
if (removable)
{
bool success = btp_thread_remove_frames_above(thread, frame);