Skip to content

AFL_DUMP_MAP_SIZE doesn't work with LLVM CLASSIC #2501

@TERESH1

Description

@TERESH1

Checked on the last commit of the dev branch (5371f76)

Describe the bug
With LLVM CLASSIC instrumentation AFL_DUMP_MAP_SIZE doesn't work properly: no map size output on the stdout and the program does not terminate

To Reproduce
Steps to reproduce the behavior:

$ AFL_LLVM_INSTRUMENT=CLASSIC ./afl-clang-fast ./test-instr.c -o test-instr.classic
afl-cc++4.34a by Michal Zalewski, Laszlo Szekeres, Marc Heuse - mode: LLVM-CLASSIC
afl-llvm-pass++4.34a by <lszekeres@google.com> and <adrian.herrera@anu.edu.au>
afl-llvm-pass++4.34a using non-thread safe instrumentation
[+] Instrumented 15 locations (non-hardened mode, ratio 100%).
$ AFL_DUMP_MAP_SIZE=1 ./test-instr.classic < /dev/null
Hum?

Expected behavior
65536 on the stdout

Additional context
afl-cmin is not working due to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy