Skip to content

Conversation

@saruman9
Copy link
Contributor

Description

This PR extends the FullBacktraceCollector with a new backtrace_full method to address limitations in multi-threaded environments. While trace information is collected from all threads, it's stored in the Thread Local Storage of individual threads. The existing backtrace method only accesses the current thread's TLS, making it impossible to retrieve traces from threads that have already terminated. The new backtrace_full method aggregates trace information from all available thread storage, including data from threads that no longer exist, ensuring complete trace collection across the entire system.

Checklist

  • I have run ./scripts/precommit.sh and addressed all comments

@domenukk domenukk merged commit c6cb661 into AFLplusplus:main Nov 3, 2025
99 of 109 checks passed
@domenukk
Copy link
Member

domenukk commented Nov 3, 2025

Thanks!

@saruman9 saruman9 deleted the feat_backtrace_full_for_full_backtrace_collector branch November 3, 2025 11:37
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

Successfully merging this pull request may close these issues.

2 participants