Skip to content

Commit cecbb93

Browse files
add readme
1 parent caae3e4 commit cecbb93

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

mallocTraceBydlsym/readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# libmallocTrace
2+
3+
add example by use dlsym to hook malloc
4+
5+
such as :
6+
```
7+
glibc_malloc = dlsym(RTLD_NEXT, "malloc");
8+
```

parse/readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Parse tool
2+
3+
pid_xxx_trace.log is a log generated by mallocTrace.
4+
5+
6+
parse.sh can It can analyze the log and find the memory that has not been released
7+
8+
9+
how to use :
10+
```
11+
./run.sh
12+
```

0 commit comments

Comments
 (0)