Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge. Learn more →
Top 19 C++ Debugger Projects
-
x64dbg
An open-source user mode debugger for Windows. Optimized for reverse engineering and malware analysis.
Project mention: Too Many Fonts in Windows 10 Can Cause Slow Application Starts | news.ycombinator.com | 2023-08-17I have never heard anyone say anything good about the Visual Studio debugger before. Now, I'm not a Windows person but I'm not gonna argue for gdb or lldb here. RemedyBG and x64dbg are the two debuggers I've heard good things about though I've never used them because, again, not a Windows person.
-
Project mention: If you're interested in eye-tracking, I'm interested in funding you | news.ycombinator.com | 2023-08-26
Okay, so, your comment about a "Dasher + Guitar Hero music theory/improvisation practice program" just sent me down a huge rabbit hole...
Well, rabbit hole(s) plural, I guess, most not directly related. :D
Largely because I made the "mistake" of looking at your HN profile & discovering you're also in NZ & we seem to have somewhat overlapping interests (and an affinity for "bacon" in account names, apparently), so, some thoughts[0]... :)
# Topic 1: Nissan Leaf VSP hacking
After reading your recent posts (https://ianrrees.github.io//2023/07/03/vsp-hacking.html & https://ianrrees.github.io//2023/08/05/voltage-glitch-inject...) on this topic & noting your remark about wanting to try reverse engineering a firmware image, I found the following thesis PDF (via a brief google search for `"reverse engineer" "firmware" "Renesas"`):
* "AUTOMOTIVE FIRMWARE EXTRACTION AND ANALYSIS TECHNIQUES" by Jan Van den Herrewegen https://etheses.bham.ac.uk/id/eprint/11516/1/VandenHerrewege...
Not really what I was anticipating finding but seems relevant to your interests--I don't think it was already in your resource list.
While the thesis addresses the Renesas 78K0 rather than the Renesas 78K0R, from a brief look at the "Flash Protection" PDF Application Note in your resource list it seems there's a large overlap.
Perhaps most significantly the author presents "novel methods" that combine bootloader binary analysis with constraint-based power glitching in an effort to improve on the results described in "Shaping the Glitch".
While I haven't read the entire 186 pages :D they theorize that using their approach extracting 8kB firmware might only take ~10 hours.
And, most helpfully, they even published their source code under the GPL here: https://github.com/janvdherrewegen/bootl-attacks
So, an interesting adjacent read even if it turns out not to be directly applicable to your situation.
Given I have an interest in & a little experience with firmware reversing my original thought was to maybe provide some hopefully helpful references that more generically related to firmware reversing but more specific is good too, I guess. :)
In terms of reverse engineering tooling, I've used Rizin/Cutter/radare2 previously: https://rizin.re https://cutter.re
On the CAN tooling/info front, you might be interested in taking a look at my "Adequate CAN" list which I originally wrote-up for a client a couple years ago: https://gitlab.com/RancidBacon/adequate-can
Some other probably outdated reverse engineering tooling links of mine: https://web.archive.org/web/20200119074540/http://www.labrad...
In terms of how to approach RE, other than just "getting started & digging in" & learning by doing, I've sometimes found it informative to read other people's firmware reverse engineering write-ups to learn about potentially useful approaches/tools.
Anyway, hopefully some of this is helpful!
[0] I have a tendency to be a little... "verbose" and/or "thorough" (depending on one's POV :) ) so I'll probably split this over a couple of comments, in case I run out of steam while writing and for topic separation.
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
-
-
Project mention: Confused in terms of where to start with framework/technology etc. Need help picking between learning ShaderToy v/s OpenGL v/s WebGL | /r/GraphicsProgramming | 2023-06-20
If you specifically want to learn shader programming then https://shadered.org/ is a lot more practical than Shadertoy.
-
ScyllaHide
Advanced usermode anti-anti-debugger. Forked from https://bitbucket.org/NtQuery/scyllahide
Project mention: How do I debug software that detaches as soon as I attach the debugger | /r/AskReverseEngineering | 2023-03-13 -
-
SonarCloud
Analyze your C and C++ projects with just one click.. SonarCloud, a cloud-based static analysis tool for your CI/CD workflows, offers a one-click automatic analysis of C and C++ projects hosted on GitHub. Zero configuration and free for open-source projects! Analyze free.
-
-
RemoteDebug
Library for Arduino to debug projects over WiFi, with web app or telnet, with print commands like Serial Monitor
Project mention: I want an easy serial monitor without having to connect a laptop | /r/esp32 | 2023-05-25https://github.com/JoaoLopesF/RemoteDebug maybe you can try this
-
-
-
Try Dr.Mingw instead. I've been using this for years, for applications that cannot be run within a debugger (usually started as a Windows service).
-
-
Project mention: If you wanna pursue snes music creation, theres this cool free program cqled "snes tracker" | /r/snes | 2023-03-10
-
LLVM-Guide
LLVM (Low Level Virtual Machine) Guide. Learn all about the compiler infrastructure, which is designed for compile-time, link-time, run-time, and "idle-time" optimization of programs written in arbitrary programming languages. Originally implemented for C/C++, the language-independent design with variety of front-ends, including Java, Python, etc.
-
-
Project mention: HadesDbg - A Linux x86/x86-64 debugger to handle forking processes | /r/ReverseEngineering | 2022-10-29
-
Project mention: New Jag Emulator is out! BigPEmu promises 100% compatibility! | /r/AtariJaguar | 2022-12-02
Virtual Jaguar (and the newer Rx fork which is actively maintained but weirdly nuked the original repo's commit history) exists and the times I've looked through the source the emulation is based on a reading of the netlists for the actual production parts. Main issues from my understanding are that the bus timings are completely off (so things like T2K run much faster than they should, although it's kind of better that way except in the second bonus stage which becomes impossible) and a few deficiencies in the custom chip implementations. But it's at least 70% there just with development on the emulation logic stalled for about five years.
-
-
Mergify
Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.
C++ Debugger related posts
- Invariants: A Better Debugger?
- Too Many Fonts in Windows 10 Can Cause Slow Application Starts
- Debugging
- Advice needed on disabling license checks on some old proprietary abandonware
- Seer - a new gui frontend to gdb/mi (Updated v2.0)
- Seer - a new gui frontend to gdb/mi (Updated v2.0)
- Seer - a new gui frontend to gdb/mi (Updated v2.0)
-
A note from our sponsor - InfluxDB
www.influxdata.com | 23 Sep 2023
Index
What are some of the best open-source Debugger projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | x64dbg | 41,624 |
2 | cutter | 14,008 |
3 | rr | 8,164 |
4 | renderdoc | 7,750 |
5 | SHADERed | 3,986 |
6 | ScyllaHide | 2,941 |
7 | edb-debugger | 2,424 |
8 | seer | 1,857 |
9 | RemoteDebug | 583 |
10 | ProDBG | 507 |
11 | bsnes-plus | 298 |
12 | drmingw | 258 |
13 | syser | 228 |
14 | snestracker | 186 |
15 | LLVM-Guide | 71 |
16 | Tug | 45 |
17 | HadesDbg | 44 |
18 | Virtual-Jaguar-Rx | 38 |
19 | DEBUG8 | 0 |