summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2011-01-31 19:12:50 +0100
committerKarel Klic <kklic@redhat.com>2011-01-31 19:12:50 +0100
commit184cb9b6c2ae77bb30fd903e60e0032ae90008d5 (patch)
tree35cece794736ec5e516c7f00211b8f5e785fa3e5
parentf8e66ae5c19f59aa71e955d64904b9408653466b (diff)
downloadabrt-184cb9b6c2ae77bb30fd903e60e0032ae90008d5.tar.gz
abrt-184cb9b6c2ae77bb30fd903e60e0032ae90008d5.tar.xz
abrt-184cb9b6c2ae77bb30fd903e60e0032ae90008d5.zip
Added functions malloc_consolidate, _int_malloc, and __libc_calloc to the ignore list.
-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);