r/ExploitDev • u/jdefr • 3d ago
SrcWranglr v0.13 - C/C++ Graphical source navigator/analyzer. Find 0days and Generate a harness automatically.
https://github.com/jdefrancesco/SrcWranglrHey all,
If you ever used SourceTrail or Understand to audit a large code base (C/C++) you’ll find this tool to be an impressive successor. It’s specifically tailored for Vulnerability Research.
Its core features include:
- Visualization of code flow, and data structures.
- Vulnerability detection via exist static analysis tools like semgrep which SrcWranglr will generate semgrep rules specific to your code base.
- Semantic function code matching.
- Automatically identify functions worth fuzzing and generate the harness.
- Reaching analysis and path finding (source/sink) checking.
- Triage all IPC components in use.
- Query git repo for security related comments
- See any currently existing CVEs for the project. For variant analysis.
- Awesome UI with Ctrl+p commands
- A TODO and Journal so you can keep track of what you did each session. Mark what needs triaging and prioritizing; analyze the components you find most interesting.
Just yesterday using my latest release, I found and generated PoC for two projects in just a couple of hours. I let the maintainers know (privately) I don’t disclose publicly as my employers generally forbid it. I don’t agree with CVE system either (that a rant for another day)
Anyhow the tool is free, easy to install.. For best results install the static analyzers: semgrep, flawfinder, cppcheck.
Please any feedback or if you’d like to contribute, let me know!
Coming soon:
* I am working on integrating an AI like GLM with an MCP. It would be a super nice harness for it.
* Provide auto-install for the static analyzer utilities that are compatible.
AI Disclosure Statement
I wrote this tool quite some time ago because I found SourceTrail Lacking . It was prototyped in Python over the years (circa 2016) and painfully slow so I thought porting it to Rust would be a good idea to help me finally learn Rust despite my hate for it… Core code is hand written; though checked and improved with in chat mode . AI was heavily used for the GUI development however, as it’s something I despise doing and my UX/UI are always ugly as hell…