Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detected memory leaks #78

Open
Asteriska001 opened this issue Jan 6, 2023 · 0 comments
Open

detected memory leaks #78

Asteriska001 opened this issue Jan 6, 2023 · 0 comments

Comments

@Asteriska001
Copy link

Description

detected memory leaks

Version

Ver. 0.6.0 Latest Commit

Environment

Ubuntu 18.04,64bit

Command

./make
./vdexExtractor -i poc -o out -f --deps

ASAN

ASAN log.

==17734==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 280 byte(s) in 1 object(s) allocated from:
    #0 0x7eff3577fc47 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x55c19f48766a in utils_malloc /AFLplusplus/my_test/vdexExtractor-master/fuzzVal/vdexExtractor-master/src/utils.c:254
    #2 0x55c19f49b66f in decodeDepFields vdex/vdex_backend_010.c:102
    #3 0x55c19f49caf0 in initDepsInfo vdex/vdex_backend_010.c:194
    #4 0x55c19f49dbfc in vdex_backend_010_dumpDepsInfo vdex/vdex_backend_010.c:238
    #5 0x55c19f48f4ef in vdex_010_dumpDepsInfo vdex/vdex_010.c:208
    #6 0x55c19f4899c7 in main /AFLplusplus/my_test/vdexExtractor-master/fuzzVal/vdexExtractor-master/src/vdexExtractor.c:248
    #7 0x7eff3517b0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)

Direct leak of 256 byte(s) in 1 object(s) allocated from:
    #0 0x7eff3577fc47 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x55c19f48766a in utils_malloc /AFLplusplus/my_test/vdexExtractor-master/fuzzVal/vdexExtractor-master/src/utils.c:254
    #2 0x55c19f49afa3 in decodeDepTypeSet vdex/vdex_backend_010.c:78
    #3 0x55c19f49c986 in initDepsInfo vdex/vdex_backend_010.c:188
    #4 0x55c19f49dbfc in vdex_backend_010_dumpDepsInfo vdex/vdex_backend_010.c:238
    #5 0x55c19f48f4ef in vdex_010_dumpDepsInfo vdex/vdex_010.c:208
    #6 0x55c19f4899c7 in main /AFLplusplus/my_test/vdexExtractor-master/fuzzVal/vdexExtractor-master/src/vdexExtractor.c:248
    #7 0x7eff3517b0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)

Direct leak of 242 byte(s) in 1 object(s) allocated from:
    #0 0x7eff3577fc47 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x55c19f48766a in utils_malloc /AFLplusplus/my_test/vdexExtractor-master/fuzzVal/vdexExtractor-master/src/utils.c:254
    #2 0x55c19f49bf0e in decodeDepUnvfyClasses vdex/vdex_backend_010.c:131
    #3 0x55c19f49cc5a in initDepsInfo vdex/vdex_backend_010.c:200
    #4 0x55c19f49dbfc in vdex_backend_010_dumpDepsInfo vdex/vdex_backend_010.c:238
    #5 0x55c19f48f4ef in vdex_010_dumpDepsInfo vdex/vdex_010.c:208
    #6 0x55c19f4899c7 in main /AFLplusplus/my_test/vdexExtractor-master/fuzzVal/vdexExtractor-master/src/vdexExtractor.c:248
    #7 0x7eff3517b0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)

Direct leak of 1 byte(s) in 1 object(s) allocated from:
    #0 0x7eff3577fc47 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x55c19f48766a in utils_malloc /AFLplusplus/my_test/vdexExtractor-master/fuzzVal/vdexExtractor-master/src/utils.c:254
    #2 0x55c19f4876db in utils_calloc /AFLplusplus/my_test/vdexExtractor-master/fuzzVal/vdexExtractor-master/src/utils.c:263
    #3 0x55c19f49acd5 in decodeDepStrings vdex/vdex_backend_010.c:66
    #4 0x55c19f49c81c in initDepsInfo vdex/vdex_backend_010.c:182
    #5 0x55c19f49dbfc in vdex_backend_010_dumpDepsInfo vdex/vdex_backend_010.c:238
    #6 0x55c19f48f4ef in vdex_010_dumpDepsInfo vdex/vdex_010.c:208
    #7 0x55c19f4899c7 in main /AFLplusplus/my_test/vdexExtractor-master/fuzzVal/vdexExtractor-master/src/vdexExtractor.c:248
    #8 0x7eff3517b0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)

SUMMARY: AddressSanitizer: 779 byte(s) leaked in 4 allocation(s).

Poc

Poc file.
id_000005,sig_11,src_000000,time_3190,execs_2569,op_havoc,rep_4.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant