-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRUNLOG
24 lines (22 loc) · 809 Bytes
/
RUNLOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 12/9/2023
disabled the printf in .h the mem leak msg will gone...but why?
#
--export MALLOC_TRACE=mtrace.log
--make
gcc src/c_generic_program_sample.c -c -Wall -g -o c_generic_program_sample.o
gcc c_generic_program_sample.o -g -o a.o
--./a.o
goto __addr__:
cgps:cgps_sample_name_func_def_construct_obj->default constructing...
cgps:cgps_sample_name_func_get_obj->16
cgps:cgps_sample_name_func_mberp->here
cgps:cgps_sample_name_func_set_obj->obj seting...
cgps:cgps_sample_name_func_get_obj->19
cgps:cgps_sample_name_func_re_construct_obj->re constructing...
cgps:cgps_sample_name_func_re_construct_obj->thistestcnt?16
cgps:thefunc->there
--mtrace a.o mtrace.log
Memory not freed:
-----------------
Address Size Caller
0x0000000000940450 0x400 at 0x7f138ab621e5