Bojun Seo

Results 39 comments of Bojun Seo

@yonghong-song The command to strip the target binary is "strip". Please refer this web page. https://man7.org/linux/man-pages/man1/strip.1.html Binaries are usually stripped(remove symbol of the static functions) to save storage in embedded...

@yonghong-song I use strip command to strip binaries to reduce the size. I didn't use and don't know any command to remove only static functions. I mentioned static function to...

@chenhengqi, well, lsan is pretty different from memleak. memleak is to keep tracking currently allocated heap memory, where lsan is to report dangling pointers within "currently allocated heap memory" like...

Followings are the way it work.(Refer to this document https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizerDesignDocument) lsan hooks memory allocating functions(malloc, calloc, free.. etc). It considers memory space as direct graph.(Consider every value as a pointer)...

The memory leak problem is an old problem and has not yet been conquered but very important. To solve memory leak problem, various methods have been tried and the best...

@chenhengqi This PR is ready to be reviewed

I update lsan to use following(merged) feature to show offsets of symbol and module. https://github.com/iovisor/bcc/pull/4288

I'll check whether `libbpf/src/hashmap.h` can be used instead of `uthash` in terms of implementation as well as license issue. Thanks for good review. By the way, what do you think...

> > > I'll check whether `libbpf/src/hashmap.h` can be used instead of `uthash` in terms of implementation as well as license issue. Thanks for good review. By the way, what...

Followings are the way to generate the problem I mentioned. Environment ``` On x86_64 architecture $ cat /etc/issue.net Ubuntu 22.04.1 LTS $ uname -r 5.15.0-52-generic ``` File to test ```c...