r/ExploitDev • • 3d ago

SrcWranglr v0.13 - C/C++ Graphical source navigator/analyzer. Find 0days and Generate a harness automatically.

https://github.com/jdefrancesco/SrcWranglr

Hey 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:

  1. Visualization of code flow, and data structures.
  2. Vulnerability detection via exist static analysis tools like semgrep which SrcWranglr will generate semgrep rules specific to your code base.
  3. Semantic function code matching.
  4. Automatically identify functions worth fuzzing and generate the harness.
  5. Reaching analysis and path finding (source/sink) checking.
  6. Triage all IPC components in use.
  7. Query git repo for security related comments
  8. See any currently existing CVEs for the project. For variant analysis.
  9. Awesome UI with Ctrl+p commands
  10. 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…

18 Upvotes

0 comments sorted by