Fuzz introspector
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Project functions overview

The following table shows data about each function in the project. The functions included in this table correspond to all functions that exist in the executables of the fuzzers. As such, there may be functions that are from third-party libraries.

For further technical details on the meaning of columns in the below table, please see the Glossary .

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Fuzzer details

Fuzzer: list_packed_file_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 1033 25.1%
gold [1:9] 17 0.41%
yellow [10:29] 12 0.29%
greenyellow [30:49] 13 0.31%
lawngreen 50+ 3031 73.8%
All colors 4106 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
1803 1803 2 :

['e_help()', 'e_usage()']

1803 1803 upx_main(int,char**) call site: 00000 /src/upx/src/main.cpp:1312
1619 1648 2 :

['PackMaster::fileInfo()', 'throwInternalError(char const*)']

2957 3145 do_one_file(charconst*,char*) call site: 00000 /src/upx/src/work.cpp:339
1601 1601 1 :

['PackMaster::pack(OutputFile*)']

2939 3098 do_one_file(charconst*,char*) call site: 00000 /src/upx/src/work.cpp:333
1598 1598 1 :

['PackMaster::unpack(OutputFile*)']

2936 3095 do_one_file(charconst*,char*) call site: 00000 /src/upx/src/work.cpp:335
1300 1329 5 :

['FileBase::unlink(char const*)', '(anonymous namespace)::copy_file_contents(char const*, char const*, (anonymous namespace)::OpenMode, (anonymous namespace)::XStat const*)', 'makebakname(char*, unsigned long, char const*, bool)', 'throwIOException(char const*, int)', 'FileBase::rename(char const*, char const*)']

1338 1401 do_one_file(charconst*,char*) call site: 00000 /src/upx/src/work.cpp:355
245 261 7 :

['OutputFile::openStdout(int, bool)', 'OutputFile::sopen(char const*, int, int, int)', 'strcpy', '(anonymous namespace)::get_open_flags((anonymous namespace)::OpenMode)', 'maketempname(char*, unsigned long, char const*, char const*, bool)', 'lstat64', 'FileBase::unlink_noexcept(char const*)']

6401 9886 do_one_file(charconst*,char*) call site: 00000 /src/upx/src/work.cpp:276
237 2250 9 :

['strcmp', 'acc_getopt(acc_getopt_t*, char const*, acc_getopt_longopt_t const*, int*)', 'e_envopt(char const*)', 'free', 'do_option(int, char const*)', 'upx_calloc(unsigned long, unsigned long)', 'strdup', 'prepare_shortopts(char*, char const*, acc_getopt_longopt_t const*)', 'acc_getopt_init(acc_getopt_t*, int, int, char**)']

237 2250 main_get_envoptions() call site: 00000 /src/upx/src/main.cpp:1100
74 74 1 :

['UiPacker::uiPackTotal()']

74 74 do_files(int,int,char**) call site: 00000 /src/upx/src/work.cpp:467
74 74 1 :

['UiPacker::uiUnpackTotal()']

74 74 do_files(int,int,char**) call site: 00000 /src/upx/src/work.cpp:469
50 50 2 :

['UiPacker::uiFileInfoTotal()', 'UiPacker::uiTestTotal()']

50 50 do_files(int,int,char**) call site: 00000 /src/upx/src/work.cpp:471
30 30 1 :

['throwOutOfMemoryException(char const*)']

30 154 PackPs1::getBkupHeader(unsignedchar*,unsignedchar*) call site: 00000 /src/upx/src/p_ps1.cpp:177
30 30 1 :

['throwOutOfMemoryException(char const*)']

30 30 MemBuffer::alloc(unsignedlonglong) call site: 00000 /src/upx/src/util/membuffer.cpp:184

Runtime coverage analysis

Covered functions
1613
Functions that are reachable but not covered
484
Reachable functions
1707
Percentage of reachable functions covered
71.65%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/upx/fuzzers/list_packed_file_fuzzer.cpp 1
/src/upx/src/util/snprintf.cpp 4
/src/upx/src/except.cpp 15
/src/upx/src/except.h 15
/usr/local/bin/../include/c++/v1/__exception/exception.h 1
/src/upx/src/conf.h 11
/src/upx/src/util/cxxlib.h 18
/src/upx/src/main.cpp 31
/src/upx/src/check/dt_check.cpp 158
/src/upx/src/util/util.cpp 18
/src/upx/src/check/../conf.h 19
/src/upx/src/check/../util/cxxlib.h 61
/src/upx/src/check/../bele.h 111
/src/upx/src/compress/compress.cpp 1
/src/upx/src/compress/compress_ucl.cpp 5
/src/upx/vendor/ucl/src/ucl_util.c 4
/src/upx/vendor/doctest/doctest/parts/doctest.cpp 57
/src/upx/vendor/doctest/doctest/parts/doctest_fwd.h 9
/usr/include/stdlib.h 1
/usr/include/ctype.h 1
/src/upx/src/options.cpp 1
/src/upx/src/options.h 4
/src/upx/src/compress/compress_bzip2.cpp 1
/src/upx/src/compress/../conf.h 18
/src/upx/src/compress/compress_lzma.cpp 3
/src/upx/src/compress/../util/cxxlib.h 15
/src/upx/src/compress/compress_zlib.cpp 3
/src/upx/src/compress/compress_zstd.cpp 1
/src/upx/src/util/miniacc.h 8
/src/upx/vendor/ucl/src/ucl_init.c 4
/src/upx/vendor/ucl/src/ucl_ptr.c 2
/src/upx/vendor/ucl/src/alloc.c 1
/src/upx/src/check/../util/util.h 1
/src/upx/vendor/zlib/zutil.c 1
/src/upx/src/help.cpp 13
/src/upx/src/packmast.cpp 12
/src/upx/src/p_djgpp2.cpp 1
/src/upx/src/packer.cpp 3
/src/upx/src/file.cpp 17
/src/upx/src/packhead.cpp 2
/src/upx/src/util/util.h 2
/src/upx/src/util/membuffer.h 12
/src/upx/src/ui.cpp 12
/src/upx/src/util/membuffer.cpp 10
/src/upx/src/msg.cpp 8
/src/upx/src/packer.h 4
/src/upx/src/p_tmt.cpp 1
/src/upx/src/p_wcle.h 1
/src/upx/src/lefile.cpp 1
/src/upx/src/p_w64pe_amd64.cpp 1
/src/upx/src/pefile.cpp 3
/src/upx/src/p_w32pe_i386.cpp 1
/src/upx/src/p_wince_arm.cpp 1
/src/upx/src/p_exe.cpp 1
/src/upx/src/p_vmlinx.h 6
/src/upx/src/p_vmlinx.cpp 3
/src/upx/src/p_elf.h 3
/src/upx/src/bele_policy.h 2
/src/upx/src/bele.h 2
/src/upx/src/p_vmlinz.cpp 2
/src/upx/src/p_vmlinz.h 1
/src/upx/src/p_lx_interp.cpp 1
/src/upx/src/p_lx_elf.cpp 42
/src/upx/src/p_lx_elf.h 4
/src/upx/src/p_unix.cpp 2
/src/upx/src/file.h 5
/src/upx/src/util/xspan_impl_ptr_or_span.h 3
/src/upx/src/util/xspan_impl_common.h 16
/src/upx/src/util/xspan.cpp 5
/src/upx/src/util/xspan_impl.h 2
/src/upx/src/compress/../util/membuffer.h 2
/src/upx/src/p_lx_sh.cpp 1
/src/upx/src/p_lx_exc.cpp 2
/src/upx/src/p_unix.h 1
/src/upx/src/p_mach.cpp 10
/src/upx/src/p_mach.h 3
/src/upx/src/p_tos.cpp 1
/src/upx/src/p_ps1.cpp 1
/src/upx/src/p_sys.h 1
/src/upx/src/p_com.h 1
/src/upx/src/packer_c.cpp 1
/src/upx/src/filter.cpp 3
/src/upx/src/work.cpp 6
/usr/include/x86_64-linux-gnu/sys/stat.h 3
/src/upx/src/util/xspan_impl_ptr_or_null.h 1

Fuzzer: test_packed_file_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 1034 25.1%
gold [1:9] 30 0.73%
yellow [10:29] 15 0.36%
greenyellow [30:49] 8 0.19%
lawngreen 50+ 3019 73.5%
All colors 4106 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
3217 3246 3 :

['PackMaster::fileInfo()', 'throwInternalError(char const*)', 'PackMaster::list()']

4555 4743 do_one_file(charconst*,char*) call site: 00000 /src/upx/src/work.cpp:337
1803 1803 2 :

['e_help()', 'e_usage()']

1803 1803 upx_main(int,char**) call site: 00000 /src/upx/src/main.cpp:1312
1300 1329 5 :

['FileBase::unlink(char const*)', '(anonymous namespace)::copy_file_contents(char const*, char const*, (anonymous namespace)::OpenMode, (anonymous namespace)::XStat const*)', 'makebakname(char*, unsigned long, char const*, bool)', 'throwIOException(char const*, int)', 'FileBase::rename(char const*, char const*)']

1338 1401 do_one_file(charconst*,char*) call site: 00000 /src/upx/src/work.cpp:355
408 727 14 :

['MemBuffer::getSize() const', 'PeFile::Export::Export(char*)', 'xcheck(void const*, unsigned long, void const*, unsigned long)', 'PeFile::processExports(PeFile::Export*)', '_ZNK13MemBufferBaseIhEplIjEENSt3__19enable_ifIXsr3std11is_integralIT_EE5valueEPhE4typeES4_', 'PeFile::processExports(PeFile::Export*, unsigned int)', '_Z9raw_bytesIPhENSt3__19enable_ifIXaasr3std10is_pointerIT_EE5valuentsr3upx16is_bounded_arrayIS3_EE5valueES3_E4typeES3_m', 'XSpan::PtrOrSpanOrNull ::operator[](long) const', 'PeFile::Export::~Export()', 'unsigned int get_le32 (unsigned char const*)', 'PeFile::ODADDR(unsigned int)', 'MemBufferBase ::operator unsigned char*() const', 'char* operator- (char*, LE32 const&)', 'void* memcpy (void*, XSpan::PtrOrSpanOrNull const&, unsigned long)']

408 727 PeFile::rebuildExports() call site: 00000 /src/upx/src/pefile.cpp:2792
245 261 7 :

['OutputFile::openStdout(int, bool)', 'OutputFile::sopen(char const*, int, int, int)', 'strcpy', '(anonymous namespace)::get_open_flags((anonymous namespace)::OpenMode)', 'maketempname(char*, unsigned long, char const*, char const*, bool)', 'lstat64', 'FileBase::unlink_noexcept(char const*)']

4800 9886 do_one_file(charconst*,char*) call site: 00000 /src/upx/src/work.cpp:276
237 2250 9 :

['strcmp', 'acc_getopt(acc_getopt_t*, char const*, acc_getopt_longopt_t const*, int*)', 'e_envopt(char const*)', 'free', 'do_option(int, char const*)', 'upx_calloc(unsigned long, unsigned long)', 'strdup', 'prepare_shortopts(char*, char const*, acc_getopt_longopt_t const*)', 'acc_getopt_init(acc_getopt_t*, int, int, char**)']

237 2250 main_get_envoptions() call site: 00000 /src/upx/src/main.cpp:1100
172 1397 12 :

['throwCantUnpack(char const*)', 'void set_le16 (XSpan::PtrOrSpanOrNull const&, unsigned int)', 'unsigned int get_le16 (XSpan::Span const&)', 'MemBuffer::alloc(unsigned long long)', 'XSpan::PtrOrSpanOrNull ::operator=(MemBuffer&)', 'NO_printf(char const*, ...)', 'XSpan::Span ::Span(unsigned char const*, MemBuffer&)', 'XSpan::Span ::operator++(int)', 'XSpan::Span ::operator*() const', 'XSpan::Span ::operator-=(long)', 'XSpan::Span ::operator+(long) const', 'XSpan::Span ::operator+=(long)']

898 3143 PackExe::unpack(OutputFile*) call site: 00000 /src/upx/src/p_exe.cpp:615
102 728 11 :

['strcmp', 'OutputFile::write(XSpan::PtrOrSpanOrNull , long long)', 'XSpan::PtrOrSpan ::PtrOrSpan(void*)', 'InputFile::readx(XSpan::PtrOrSpan , long long)', 'Packer::set_te32(void*, unsigned int)', 'XSpan::PtrOrSpan ::PtrOrSpan(MemBuffer&)', 'InputFile::seek(long long, int)', 'XSpan::PtrOrSpanOrNull ::PtrOrSpanOrNull(MemBuffer&)', 'unsigned int get_le32 (unsigned char const*)', 'MemBuffer::MemBuffer(unsigned long long)', 'MemBufferBase ::operator[](long) const']

102 1301 PackMachBase >::unpack(OutputFile*) call site: 00000 /src/upx/src/p_mach.cpp:1582
102 716 10 :

['strcmp', 'OutputFile::write(XSpan::PtrOrSpanOrNull , long long)', 'XSpan::PtrOrSpan ::PtrOrSpan(void*)', 'InputFile::readx(XSpan::PtrOrSpan , long long)', 'Packer::set_te32(void*, unsigned int)', 'XSpan::PtrOrSpan ::PtrOrSpan(MemBuffer&)', 'InputFile::seek(long long, int)', 'XSpan::PtrOrSpanOrNull ::PtrOrSpanOrNull(MemBuffer&)', 'MemBuffer::MemBuffer(unsigned long long)', 'MemBufferBase ::operator[](long) const']

102 1301 PackMachBase >::unpack(OutputFile*) call site: 00000 /src/upx/src/p_mach.cpp:1582
102 716 10 :

['strcmp', 'OutputFile::write(XSpan::PtrOrSpanOrNull , long long)', 'XSpan::PtrOrSpan ::PtrOrSpan(void*)', 'InputFile::readx(XSpan::PtrOrSpan , long long)', 'Packer::set_te32(void*, unsigned int)', 'XSpan::PtrOrSpan ::PtrOrSpan(MemBuffer&)', 'InputFile::seek(long long, int)', 'XSpan::PtrOrSpanOrNull ::PtrOrSpanOrNull(MemBuffer&)', 'MemBuffer::MemBuffer(unsigned long long)', 'MemBufferBase ::operator[](long) const']

102 1301 PackMachBase >::unpack(OutputFile*) call site: 00000 /src/upx/src/p_mach.cpp:1582
74 74 1 :

['UiPacker::uiPackTotal()']

74 74 do_files(int,int,char**) call site: 00000 /src/upx/src/work.cpp:467
74 74 1 :

['UiPacker::uiUnpackTotal()']

74 74 do_files(int,int,char**) call site: 00000 /src/upx/src/work.cpp:469

Runtime coverage analysis

Covered functions
1956
Functions that are reachable but not covered
474
Reachable functions
1707
Percentage of reachable functions covered
72.23%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/upx/fuzzers/test_packed_file_fuzzer.cpp 1
/src/upx/src/util/snprintf.cpp 4
/src/upx/src/except.cpp 15
/src/upx/src/except.h 15
/usr/local/bin/../include/c++/v1/__exception/exception.h 1
/src/upx/src/conf.h 11
/src/upx/src/util/cxxlib.h 18
/src/upx/src/main.cpp 31
/src/upx/src/check/dt_check.cpp 158
/src/upx/src/util/util.cpp 18
/src/upx/src/check/../conf.h 19
/src/upx/src/check/../util/cxxlib.h 61
/src/upx/src/check/../bele.h 111
/src/upx/src/compress/compress.cpp 1
/src/upx/src/compress/compress_ucl.cpp 5
/src/upx/vendor/ucl/src/ucl_util.c 4
/src/upx/vendor/doctest/doctest/parts/doctest.cpp 57
/src/upx/vendor/doctest/doctest/parts/doctest_fwd.h 9
/usr/include/stdlib.h 1
/usr/include/ctype.h 1
/src/upx/src/options.cpp 1
/src/upx/src/options.h 4
/src/upx/src/compress/compress_bzip2.cpp 1
/src/upx/src/compress/../conf.h 18
/src/upx/src/compress/compress_lzma.cpp 3
/src/upx/src/compress/../util/cxxlib.h 15
/src/upx/src/compress/compress_zlib.cpp 3
/src/upx/src/compress/compress_zstd.cpp 1
/src/upx/src/util/miniacc.h 8
/src/upx/vendor/ucl/src/ucl_init.c 4
/src/upx/vendor/ucl/src/ucl_ptr.c 2
/src/upx/vendor/ucl/src/alloc.c 1
/src/upx/src/check/../util/util.h 1
/src/upx/vendor/zlib/zutil.c 1
/src/upx/src/help.cpp 13
/src/upx/src/packmast.cpp 12
/src/upx/src/p_djgpp2.cpp 1
/src/upx/src/packer.cpp 3
/src/upx/src/file.cpp 17
/src/upx/src/packhead.cpp 2
/src/upx/src/util/util.h 2
/src/upx/src/util/membuffer.h 12
/src/upx/src/ui.cpp 12
/src/upx/src/util/membuffer.cpp 10
/src/upx/src/msg.cpp 8
/src/upx/src/packer.h 4
/src/upx/src/p_tmt.cpp 1
/src/upx/src/p_wcle.h 1
/src/upx/src/lefile.cpp 1
/src/upx/src/p_w64pe_amd64.cpp 1
/src/upx/src/pefile.cpp 3
/src/upx/src/p_w32pe_i386.cpp 1
/src/upx/src/p_wince_arm.cpp 1
/src/upx/src/p_exe.cpp 1
/src/upx/src/p_vmlinx.h 6
/src/upx/src/p_vmlinx.cpp 3
/src/upx/src/p_elf.h 3
/src/upx/src/bele_policy.h 2
/src/upx/src/bele.h 2
/src/upx/src/p_vmlinz.cpp 2
/src/upx/src/p_vmlinz.h 1
/src/upx/src/p_lx_interp.cpp 1
/src/upx/src/p_lx_elf.cpp 42
/src/upx/src/p_lx_elf.h 4
/src/upx/src/p_unix.cpp 2
/src/upx/src/file.h 5
/src/upx/src/util/xspan_impl_ptr_or_span.h 3
/src/upx/src/util/xspan_impl_common.h 16
/src/upx/src/util/xspan.cpp 5
/src/upx/src/util/xspan_impl.h 2
/src/upx/src/compress/../util/membuffer.h 2
/src/upx/src/p_lx_sh.cpp 1
/src/upx/src/p_lx_exc.cpp 2
/src/upx/src/p_unix.h 1
/src/upx/src/p_mach.cpp 10
/src/upx/src/p_mach.h 3
/src/upx/src/p_tos.cpp 1
/src/upx/src/p_ps1.cpp 1
/src/upx/src/p_sys.h 1
/src/upx/src/p_com.h 1
/src/upx/src/packer_c.cpp 1
/src/upx/src/filter.cpp 3
/src/upx/src/work.cpp 6
/usr/include/x86_64-linux-gnu/sys/stat.h 3
/src/upx/src/util/xspan_impl_ptr_or_null.h 1

Fuzzer: decompress_packed_file_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 992 24.1%
gold [1:9] 35 0.85%
yellow [10:29] 14 0.34%
greenyellow [30:49] 8 0.19%
lawngreen 50+ 3057 74.4%
All colors 4106 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
3217 4844 4 :

['PackMaster::test()', 'PackMaster::fileInfo()', 'throwInternalError(char const*)', 'PackMaster::list()']

3535 6341 do_one_file(charconst*,char*) call site: 00000 /src/upx/src/work.cpp:335
1803 1803 2 :

['e_help()', 'e_usage()']

1803 1803 upx_main(int,char**) call site: 00000 /src/upx/src/main.cpp:1312
408 727 14 :

['MemBuffer::getSize() const', 'PeFile::Export::Export(char*)', 'xcheck(void const*, unsigned long, void const*, unsigned long)', 'PeFile::processExports(PeFile::Export*)', '_ZNK13MemBufferBaseIhEplIjEENSt3__19enable_ifIXsr3std11is_integralIT_EE5valueEPhE4typeES4_', 'PeFile::processExports(PeFile::Export*, unsigned int)', '_Z9raw_bytesIPhENSt3__19enable_ifIXaasr3std10is_pointerIT_EE5valuentsr3upx16is_bounded_arrayIS3_EE5valueES3_E4typeES3_m', 'XSpan::PtrOrSpanOrNull ::operator[](long) const', 'PeFile::Export::~Export()', 'unsigned int get_le32 (unsigned char const*)', 'PeFile::ODADDR(unsigned int)', 'MemBufferBase ::operator unsigned char*() const', 'char* operator- (char*, LE32 const&)', 'void* memcpy (void*, XSpan::PtrOrSpanOrNull const&, unsigned long)']

408 727 PeFile::rebuildExports() call site: 00000 /src/upx/src/pefile.cpp:2792
266 1397 12 :

['throwCantUnpack(char const*)', 'void set_le16 (XSpan::PtrOrSpanOrNull const&, unsigned int)', 'unsigned int get_le16 (XSpan::Span const&)', 'MemBuffer::alloc(unsigned long long)', 'XSpan::PtrOrSpanOrNull ::operator=(MemBuffer&)', 'NO_printf(char const*, ...)', 'XSpan::Span ::Span(unsigned char const*, MemBuffer&)', 'XSpan::Span ::operator++(int)', 'XSpan::Span ::operator*() const', 'XSpan::Span ::operator-=(long)', 'XSpan::Span ::operator+(long) const', 'XSpan::Span ::operator+=(long)']

480 3143 PackExe::unpack(OutputFile*) call site: 00000 /src/upx/src/p_exe.cpp:615
237 2250 9 :

['strcmp', 'acc_getopt(acc_getopt_t*, char const*, acc_getopt_longopt_t const*, int*)', 'e_envopt(char const*)', 'free', 'do_option(int, char const*)', 'upx_calloc(unsigned long, unsigned long)', 'strdup', 'prepare_shortopts(char*, char const*, acc_getopt_longopt_t const*)', 'acc_getopt_init(acc_getopt_t*, int, int, char**)']

237 2250 main_get_envoptions() call site: 00000 /src/upx/src/main.cpp:1100
115 2776 22 :

['unsigned int get_le16 (unsigned char const*)', 'unsigned long long get_le64 (unsigned char const*)', 'Packer::get_te64(void const*) const', 'void throwCantUnpack (char const*, ...)', 'OutputFile::seek(long long, int)', 'PackLinuxElf64::elf_find_dynamic(unsigned int) const', 'XSpan::PtrOrSpan ::PtrOrSpan(void const*)', 'InputFile::readx(XSpan::PtrOrSpan , long long)', 'PackLinuxElf64::is_LOAD(N_Elf64::Phdr > const*) const', 'XSpan::PtrOrSpan ::PtrOrSpan(MemBuffer&)', 'MemBufferBase ::operator unsigned char*() const', 'MemBufferBase ::operator[](long) const', 'InputFile::read(XSpan::PtrOrSpan , long long)', 'OutputFile::rewrite(XSpan::PtrOrSpan , int)', 'PackLinuxElf64::invert_pt_dynamic(N_Elf::Dyn > const*, unsigned long long)', 'MemBuffer::subref_impl(char const*, unsigned long, unsigned long)', 'XSpan::PtrOrSpan ::PtrOrSpan(MemBuffer&)', 'Packer::set_te64(void*, unsigned long long)', 'InputFile::seek(long long, int)', 'MemBuffer::alloc(unsigned long long)', 'PackLinuxElf64::elf_find_dynptr(unsigned int) const', 'void set_le64 (unsigned char*, unsigned long long)']

115 2809 PackLinuxElf64::un_DT_INIT(unsignedint,N_Elf64::Phdr >const*,N_Elf64::Phdr >const*,OutputFile*) call site: 00000 /src/upx/src/p_lx_elf.cpp:7462
74 74 1 :

['UiPacker::uiPackTotal()']

74 74 do_files(int,int,char**) call site: 00000 /src/upx/src/work.cpp:467
61 61 1 :

['e_usage()']

61 61 set_output_name(charconst*,bool) call site: 00000 /src/upx/src/main.cpp:262
50 117 3 :

['UiPacker::uiListTotal(bool)', 'UiPacker::uiFileInfoTotal()', 'UiPacker::uiTestTotal()']

50 117 do_files(int,int,char**) call site: 00000 /src/upx/src/work.cpp:469
30 30 1 :

['throwOutOfMemoryException(char const*)']

30 30 ph_decompress(PackHeader&,XSpan::PtrOrSpan ,XSpan::PtrOrSpan ,bool,Filter*) call site: 00000 /src/upx/src/packhead.cpp:347
30 30 1 :

['throwOutOfMemoryException(char const*)']

30 30 MemBuffer::alloc(unsignedlonglong) call site: 00000 /src/upx/src/util/membuffer.cpp:184
10 10 1 :

['printClearLine(_IO_FILE*)']

16 221 pr_error(charconst*,charconst*,bool) call site: 00000 /src/upx/src/msg.cpp:71

Runtime coverage analysis

Covered functions
1996
Functions that are reachable but not covered
441
Reachable functions
1707
Percentage of reachable functions covered
74.17%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/upx/fuzzers/decompress_packed_file_fuzzer.cpp 1
/src/upx/src/util/snprintf.cpp 4
/src/upx/src/except.cpp 15
/src/upx/src/except.h 15
/usr/local/bin/../include/c++/v1/__exception/exception.h 1
/src/upx/src/conf.h 11
/src/upx/src/util/cxxlib.h 18
/src/upx/src/main.cpp 31
/src/upx/src/check/dt_check.cpp 158
/src/upx/src/util/util.cpp 18
/src/upx/src/check/../conf.h 19
/src/upx/src/check/../util/cxxlib.h 61
/src/upx/src/check/../bele.h 111
/src/upx/src/compress/compress.cpp 1
/src/upx/src/compress/compress_ucl.cpp 5
/src/upx/vendor/ucl/src/ucl_util.c 4
/src/upx/vendor/doctest/doctest/parts/doctest.cpp 57
/src/upx/vendor/doctest/doctest/parts/doctest_fwd.h 9
/usr/include/stdlib.h 1
/usr/include/ctype.h 1
/src/upx/src/options.cpp 1
/src/upx/src/options.h 4
/src/upx/src/compress/compress_bzip2.cpp 1
/src/upx/src/compress/../conf.h 18
/src/upx/src/compress/compress_lzma.cpp 3
/src/upx/src/compress/../util/cxxlib.h 15
/src/upx/src/compress/compress_zlib.cpp 3
/src/upx/src/compress/compress_zstd.cpp 1
/src/upx/src/util/miniacc.h 8
/src/upx/vendor/ucl/src/ucl_init.c 4
/src/upx/vendor/ucl/src/ucl_ptr.c 2
/src/upx/vendor/ucl/src/alloc.c 1
/src/upx/src/check/../util/util.h 1
/src/upx/vendor/zlib/zutil.c 1
/src/upx/src/help.cpp 13
/src/upx/src/packmast.cpp 12
/src/upx/src/p_djgpp2.cpp 1
/src/upx/src/packer.cpp 3
/src/upx/src/file.cpp 17
/src/upx/src/packhead.cpp 2
/src/upx/src/util/util.h 2
/src/upx/src/util/membuffer.h 12
/src/upx/src/ui.cpp 12
/src/upx/src/util/membuffer.cpp 10
/src/upx/src/msg.cpp 8
/src/upx/src/packer.h 4
/src/upx/src/p_tmt.cpp 1
/src/upx/src/p_wcle.h 1
/src/upx/src/lefile.cpp 1
/src/upx/src/p_w64pe_amd64.cpp 1
/src/upx/src/pefile.cpp 3
/src/upx/src/p_w32pe_i386.cpp 1
/src/upx/src/p_wince_arm.cpp 1
/src/upx/src/p_exe.cpp 1
/src/upx/src/p_vmlinx.h 6
/src/upx/src/p_vmlinx.cpp 3
/src/upx/src/p_elf.h 3
/src/upx/src/bele_policy.h 2
/src/upx/src/bele.h 2
/src/upx/src/p_vmlinz.cpp 2
/src/upx/src/p_vmlinz.h 1
/src/upx/src/p_lx_interp.cpp 1
/src/upx/src/p_lx_elf.cpp 42
/src/upx/src/p_lx_elf.h 4
/src/upx/src/p_unix.cpp 2
/src/upx/src/file.h 5
/src/upx/src/util/xspan_impl_ptr_or_span.h 3
/src/upx/src/util/xspan_impl_common.h 16
/src/upx/src/util/xspan.cpp 5
/src/upx/src/util/xspan_impl.h 2
/src/upx/src/compress/../util/membuffer.h 2
/src/upx/src/p_lx_sh.cpp 1
/src/upx/src/p_lx_exc.cpp 2
/src/upx/src/p_unix.h 1
/src/upx/src/p_mach.cpp 10
/src/upx/src/p_mach.h 3
/src/upx/src/p_tos.cpp 1
/src/upx/src/p_ps1.cpp 1
/src/upx/src/p_sys.h 1
/src/upx/src/p_com.h 1
/src/upx/src/packer_c.cpp 1
/src/upx/src/filter.cpp 3
/src/upx/src/work.cpp 6
/usr/include/x86_64-linux-gnu/sys/stat.h 3
/src/upx/src/util/xspan_impl_ptr_or_null.h 1

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
PackWcle::pack(OutputFile*) /src/upx/src/p_wcle.cpp 2 ['N/A', 'N/A'] 19 0 605 76 72 1139 0 3481 3008
PackMachFat::unpack(OutputFile*) /src/upx/src/p_mach.cpp 2 ['N/A', 'N/A'] 19 0 512 95 82 560 0 2687 1180
PeFile64::unpack(OutputFile*) /src/upx/src/pefile.cpp 2 ['N/A', 'N/A'] 19 0 16 3 2 947 0 2573 1037
PackVmlinuzI386::decompressKernel() /src/upx/src/p_vmlinz.cpp 1 ['N/A'] 13 0 999 175 69 272 0 1474 722
PackW32PeI386::pack(OutputFile*) /src/upx/src/p_w32pe_i386.cpp 2 ['N/A', 'N/A'] 20 0 15 3 2 916 0 2565 587
PeFile64::processImports() /src/upx/src/pefile.cpp 1 ['N/A'] 21 0 13 3 2 432 0 885 503
PackMachFat::pack(OutputFile*) /src/upx/src/p_mach.cpp 2 ['N/A', 'N/A'] 18 0 505 88 62 397 0 894 365

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
41.0%
1772 / 4363
Cyclomatic complexity statically reachable by fuzzers
42.0%
11294 / 27177

All functions overview

If you implement fuzzers for these functions, the status of all functions in the project will be:

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Fuzz engine guidance

This sections provides heuristics that can be used as input to a fuzz engine when running a given fuzz target. The current focus is on providing input that is usable by libFuzzer.

/src/upx/fuzzers/list_packed_file_fuzzer.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['upx_doctest_check(int, char**)', 'upx_doctest_check(int, char**)', 'do_option(int, char const*)', 'upx_main(int, char**)', 'show_header()', 'OutputFile::OutputFile()', 'PackMaster::visitAllPackers(upx::TriBool (*)(PackerBase*, void*), InputFile*, Options const*, void*)', 'do_option(int, char const*)', 'do_files(int, int, char**)', 'do_one_file(char const*, char*)']

/src/upx/fuzzers/test_packed_file_fuzzer.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['upx_doctest_check(int, char**)', 'upx_doctest_check(int, char**)', 'do_option(int, char const*)', 'upx_main(int, char**)', 'show_header()', 'OutputFile::OutputFile()', 'FilterImpl::getFilter(int)', 'do_files(int, int, char**)', 'do_one_file(char const*, char*)', 'do_option(int, char const*)']

/src/upx/fuzzers/decompress_packed_file_fuzzer.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['upx_doctest_check(int, char**)', 'upx_doctest_check(int, char**)', 'do_option(int, char const*)', 'upx_main(int, char**)', 'show_header()', 'do_files(int, int, char**)', 'set_output_name(char const*, bool)', 'FilterImpl::getFilter(int)', 'do_one_file(char const*, char*)', 'do_one_file(char const*, char*)']

Runtime coverage analysis

This section shows analysis of runtime coverage data.

For futher technical details on how this section is generated, please see the Glossary .

Complex functions with low coverage

Func name Function total lines Lines covered at runtime percentage covered Reached by fuzzers
upx_doctest_check(int,char**) 38 20 52.63% ['decompress_packed_file_fuzzer', 'test_packed_file_fuzzer', 'list_packed_file_fuzzer']
main_get_envoptions() 106 54 50.94% ['decompress_packed_file_fuzzer', 'test_packed_file_fuzzer', 'list_packed_file_fuzzer']
upx_main(int,char**) 99 53 53.53% ['decompress_packed_file_fuzzer', 'test_packed_file_fuzzer', 'list_packed_file_fuzzer']
do_option(int,charconst*) 417 41 9.832% ['decompress_packed_file_fuzzer', 'test_packed_file_fuzzer', 'list_packed_file_fuzzer']
PackMachBase >::canUnpack() 283 120 42.40% ['decompress_packed_file_fuzzer', 'list_packed_file_fuzzer']
do_one_file(charconst*,char*) 147 67 45.57% ['decompress_packed_file_fuzzer', 'test_packed_file_fuzzer', 'list_packed_file_fuzzer']
do_files(int,int,char**) 63 34 53.96% ['decompress_packed_file_fuzzer', 'test_packed_file_fuzzer', 'list_packed_file_fuzzer']
PackExe::unpack(OutputFile*) 100 44 44.0% ['test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
PackLinuxElf32::un_DT_INIT(unsignedint,N_Elf32::Phdr >const*,N_Elf32::Phdr >const*,OutputFile*) 164 16 9.756% ['test_packed_file_fuzzer']
PackMachBase >::unpack(OutputFile*) 142 66 46.47% ['test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
PackMachBase >::unpack(OutputFile*) 142 67 47.18% ['test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
PackMachFat::unpack(OutputFile*) 99 24 24.24% ['test_packed_file_fuzzer']
PackLinuxElf64::un_DT_INIT(unsignedint,N_Elf64::Phdr >const*,N_Elf64::Phdr >const*,OutputFile*) 127 11 8.661% ['decompress_packed_file_fuzzer']

Files and Directories in report

This section shows which files and directories are considered in this report. The main reason for showing this is fuzz introspector may include more code in the reasoning than is desired. This section helps identify if too many files/directories are included, e.g. third party code, which may be irrelevant for the threat model. In the event too much is included, fuzz introspector supports a configuration file that can exclude data from the report. See the following link for more information on how to create a config file: link

Files in report

Source file Reached by Covered by
[] []
/src/upx/src/util/membuffer.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/check/../util/xspan_impl_ptr_or_span.h [] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_w64pe_amd64.h [] []
/src/upx/src/p_ps1.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/zlib/adler32.c [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/LZMAEncoder.cpp [] []
/src/upx/vendor/lzma-sdk/C/7zip/Common/StreamUtils.cpp [] []
/src/upx/src/filter/sw.h [] []
/src/upx/src/p_tos.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/check/../bele.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/ucl/src/ucl_init.c ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] []
/src/upx/vendor/ucl/src/n2d_d.c [] []
/src/upx/src/check/dt_cxxlib.cpp [] []
/src/upx/src/check/../util/xspan_fwd.h [] []
/src/upx/vendor/lzma-sdk/C/Common/MyGuidDef.h [] []
/src/upx/src/check/../util/xspan_impl.h [] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/compress/compress_bzip2.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/zlib/gzread.c [] []
/src/upx/src/filter/getcto.h [] []
/src/upx/src/packer_c.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/usr/include/stdlib.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] []
/src/upx/src/filter/sub16.h [] []
/src/upx/src/except.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/lzma-sdk/C/Common/CRC.cpp [] []
/src/upx/src/filter/ctok.h [] []
/src/upx/src/console/c_screen.cpp [] []
/usr/local/bin/../include/c++/v1/__fwd/fstream.h [] []
/src/upx/src/util/raw_bytes.h [] []
/usr/local/bin/../include/c++/v1/string [] []
/src/upx/src/p_w64pe_amd64.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_mach.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_tmt.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/check/dt_impl.cpp [] []
/src/upx/src/compress/compress.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/util/xspan_fwd.h [] []
/src/upx/src/p_elf.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/file.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_ps1.h [] []
/src/upx/src/check/../util/cxxlib.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/compress/compress_zstd.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/console/s_djgpp2.cpp [] []
/src/upx/src/p_tmt.h [] []
/src/upx/src/util/xspan_impl_common.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_w64pe_arm64.cpp [] []
/src/upx/src/help.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_wince_arm.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/LZMAEncoder.h [] []
/src/upx/src/check/../util/xspan_impl_span.h [] []
/src/upx/src/filter/ctoj.h [] []
/src/upx/src/util/xspan_impl.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/lefile.h [] []
/src/upx/src/packhead.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/filter/ctsw.h [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/RangeCoder/RangeCoderBit.cpp [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../RangeCoder/../../Common/OutBuffer.h [] []
/src/upx/src/compress/compress_zlib.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/check/dt_check.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_djgpp2.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/main.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/compress/../util/cxxlib.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_exe.h [] []
/src/upx/src/p_lx_sh.h [] []
/src/upx/src/packer.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZ/LZInWindow.h [] []
/src/upx/src/except.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/util/snprintf.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/msg.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/check/../util/xspan_impl_ptr_or_null.h [] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/file.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_vmlinz.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/packer_f.cpp [] []
/src/upx/vendor/lzma-sdk/C/Common/Alloc.cpp [] []
/src/upx/src/filter/filter_impl.cpp [] []
/src/upx/vendor/zlib/inffast.c [] []
/src/upx/src/util/util.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/ucl/src/ucl_ptr.c ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] []
/src/upx/vendor/ucl/src/ucl_util.c ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] []
/src/upx/vendor/doctest/doctest/parts/doctest_fwd.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../RangeCoder/RangeCoder.h [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/LZMA.h [] []
/src/upx/src/p_w32pe_i386.h [] []
/src/upx/src/util/util.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/options.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/zlib/inflate.c [] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/upx/src/p_lx_exc.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../RangeCoder/RangeCoderBit.h [] []
/src/upx/vendor/lzma-sdk/C/7zip/Common/OutBuffer.cpp [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../LZ/BinTree/BinTree.h [] []
/src/upx/src/lefile.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/console/c_file.cpp [] []
/src/upx/src/p_unix.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/check/../util/util.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/util/../bele_policy.h [] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/check/../conf.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/packmast.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_vmlinx.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/linker.cpp [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../LZ/BinTree/BinTreeMain.h [] []
/src/upx/src/pefile.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_lx_elf.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/zlib/gzclose.c [] []
/src/upx/src/compress/../conf.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/doctest/doctest/parts/doctest.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_wcle.cpp [] []
/src/upx/src/check/../util/raw_bytes.h [] []
/src/upx/src/packer_r.cpp [] []
/src/upx/vendor/zlib/gzwrite.c [] []
/src/upx/src/console/c_none.cpp [] []
/src/upx/src/filter/ppcbxx.h [] []
/src/upx/fuzzers/decompress_packed_file_fuzzer.cpp ['decompress_packed_file_fuzzer'] ['decompress_packed_file_fuzzer']
/src/upx/src/p_com.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/usr/include/x86_64-linux-gnu/sys/stat.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] []
/src/upx/src/compress/../util/membuffer.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/usr/include/ctype.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] []
/src/upx/src/filter.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/filter/ctojr.h [] []
/src/upx/src/util/../util/util.h [] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_tos.h [] []
/src/upx/src/p_com.cpp [] []
/src/upx/src/conf.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_lx_exc.h [] []
/src/upx/src/p_vmlinx.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/usr/local/bin/../include/c++/v1/istream [] []
/src/upx/src/work.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/zlib/inftrees.c [] []
/src/upx/src/util/xspan.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/ui.h [] []
/src/upx/src/p_vmlinz.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/filter/ct.h [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZ/LZInWindow.cpp [] []
/src/upx/src/p_djgpp2.h [] []
/src/upx/src/p_w64pe_arm64.h [] []
/src/upx/src/console/s_win32.cpp [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../RangeCoder/RangeCoderBitTree.h [] []
/src/upx/src/ui.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/console/c_init.cpp [] []
/src/upx/vendor/zlib/deflate.c [] []
/src/upx/vendor/ucl/src/ucl_swd.ch [] []
/src/upx/src/p_wcle.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA_C/LzmaDecode.c [] []
/src/upx/src/util/membuffer.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/ucl/src/n2b_to.c [] []
/src/upx/src/p_w32pe_i386.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/console/s_object.cpp [] []
/src/upx/src/filter/sub32.h [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../../IStream.h [] []
/src/upx/src/p_mach.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/console/s_vcsa.cpp [] []
/usr/local/bin/../include/c++/v1/__exception/exception.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] []
/src/upx/vendor/zlib/trees.c [] []
/src/upx/src/util/../bele.h [] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/fuzzers/list_packed_file_fuzzer.cpp ['list_packed_file_fuzzer'] ['list_packed_file_fuzzer']
/src/upx/fuzzers/test_packed_file_fuzzer.cpp ['test_packed_file_fuzzer'] ['test_packed_file_fuzzer']
/src/upx/vendor/zlib/zutil.c ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] []
/src/upx/src/util/cxxlib.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/filter/sub8.h [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../../ICoder.h [] []
/src/upx/src/util/xspan_impl_ptr_or_span.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/zlib/gzlib.c [] []
/src/upx/src/util/miniacc.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_wince_arm.h [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../../../Common/MyCom.h [] []
/src/upx/src/p_unix.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/filter/cto.h [] []
/src/upx/src/compress/compress_lzma.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/bele_policy.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/pefile.h [] []
/src/upx/vendor/ucl/src/n2e_to.c [] []
/src/upx/src/linker.h [] []
/src/upx/src/p_exe.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/check/../util/xspan_impl_common.h [] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/util/xspan_impl_ptr_or_null.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/check/dt_xspan.cpp [] []
/src/upx/src/util/xspan_impl_span.h [] []
/src/upx/src/p_sys.cpp [] []
/src/upx/vendor/ucl/src/alloc.c ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] []
/src/upx/vendor/ucl/src/n2b_d.c [] []
/src/upx/src/packer.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_elf_enum.h [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../../../Common/Defs.h [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../../../Common/MyWindows.h [] []
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../LZ/IMatchFinder.h [] []
/src/upx/src/p_lx_sh.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/ucl/src/ucl_mchw.ch [] []
/src/upx/src/p_lx_interp.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_lx_elf.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/options.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/bele.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/p_lx_interp.h [] []
/src/upx/vendor/ucl/src/n2d_to.c [] []
/src/upx/src/filter/../bele.h [] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/src/util/../util/xspan_fwd.h [] []
/src/upx/vendor/zlib/crc32.c [] []
/src/upx/src/compress/../util/xspan_fwd.h [] []
/src/upx/vendor/ucl/src/n2e_d.c [] []
/src/upx/src/p_sys.h ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']
/src/upx/vendor/ucl/src/n2_99.ch [] []
/src/upx/src/compress/compress_ucl.cpp ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer'] ['list_packed_file_fuzzer', 'test_packed_file_fuzzer', 'decompress_packed_file_fuzzer']

Directories in report

Directory
/src/upx/src/check/
/src/upx/src/util/../util/
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../RangeCoder/
/src/upx/vendor/zlib/
/usr/local/bin/../include/c++/v1/
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../../../Common/
/usr/include/
/src/upx/fuzzers/
/src/upx/src/console/
/src/upx/src/compress/../
/src/upx/src/compress/
/usr/local/bin/../include/c++/v1/__fwd/
/src/upx/vendor/lzma-sdk/C/7zip/Compress/RangeCoder/
/src/upx/vendor/ucl/src/
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../RangeCoder/../../Common/
/src/upx/src/util/
/usr/include/x86_64-linux-gnu/sys/
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../../
/src/upx/src/util/../
/src/upx/src/compress/../util/
/src/upx/src/check/../util/
/src/upx/src/filter/
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA_C/
/usr/local/bin/../include/c++/v1/__exception/
/src/upx/src/
/src/upx/src/check/../
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/
/src/upx/vendor/lzma-sdk/C/7zip/Common/
/src/upx/vendor/lzma-sdk/C/Common/
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZ/
/src/upx/vendor/doctest/doctest/parts/
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../LZ/BinTree/
/src/upx/src/filter/../
/src/upx/vendor/lzma-sdk/C/7zip/Compress/LZMA/../LZ/