Skip to content

[casr-afl] [LSAN] not correct CrashSeverity #273

@WhiteWLf-dev

Description

@WhiteWLf-dev

LSAN.zip

Dear Colleagues.

I encountered an issue in casr-afl and would like to report it. CrashSeverity should be allocation-size-too-big, but it is memory-leaks.

Steps to reproduce

git clone https://github.com/lua/lua.git
sudo apt install libreadline8
cd lua
git checkout v5.4
export AFL_USE_LSAN=1
CC="afl-clang-fast -Wno-everything" make -e
unzip LSAN.zip #take it from the attachments
casr-afl -i LSAN -o report -- ./lua
cat report/id:000000,sig:00,src:000338,time:1244084,execs:127213,op:havoc,rep:1.casrep

Expected Behaviour

CrashSeverity field is allocation-size-too-big.

Actual Behaviour

CrashSeverity field is memory-leaks.

System Info

Linux astra 6.1.90-1-generic #astra2+ci15 SMP PREEMPT_DYNAMIC Tue Jul 23 09:49:19 MSK 2024 x86_64 GNU/Linux
Astra clang version 19.1.4 (1~deb12u1+astra1+ci4)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-19/bin
casr-afl 2.13.0
afl-fuzz++4.32c
cargo 1.89.0 (c24e10642 2025-06-23)

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