Show HN: I spent 6 months building a C debugger as a 17-year-old (opens in a new tab)github.com
393 pointsI want to showcase Spray, a small C debugger I've been working on for a few months now. Spray has a very simple and approachable interface. Its feature set is limited at this point, but it's already enough to tackle some basic problems. I stared to work on Spray because I was curious about how debuggers work. I am also trying to design Spray in such a way that it's easy to grasp and has a small mental overhead.
I'd love to get your feedback on Spray.
Email: d4kd (at) proton (dot) me
PS: I'm generally interested compilers and language tool chains, and I'm looking for similar-minded people to work and collaborate with. I have a few similar projects on my GitHub: https://github.com/d4ckard?tab=repositories. If you find Spray interesting, you might enjoy playing around with them too.
Comments (129) 27 threads
Earlier commentsCool project, but as other commenters have pointed out, the self-promotion of off-putting. Don't hold on to using your age as a qualifier to make you stand out in job applications or otherwise.
So this is very impressive at that age.
Your post comes off more delusional (or just ignorant) than the OP ever came off as self-promotional.
https://news.ycombinator.com/newsguidelines.html
Now make it work for other common CPUs (aarch64, RISC-V).
Make it work for other OSes (FreeBSD has ptrace, for example).
Make sure it handles signal and thread trampolines, calls through the VDSO, and handwritten assembler that does not have function prologues. Handle C++ constructors and destructors of objects in static storage running before/after main().
Have it intercept signals. Have it follow the child or the parent after forking. Have it handle multiple threads.
Make it work with coredumps.
Make it work on core dumps from a foreign CPU architecture (big-endian PowerPC, for example).
Make it work with debug symbols in separate files from the executable.
Make it work with binaries compiled from languages other than C.
You're going to be busy for the next 20 years or so.
I don't read anything that might express that?
Especially with:
>> Its feature set is limited at this point, but it's already enough to tackle some basic problems.
Continue this thread — 1 reply
https://news.ycombinator.com/newsguidelines.html
Yes
> claiming to have done so is disingenuous and pompous
Nobody has claimed to do so in this situation. You are inventing conflict. Also I don't think bregma intended to be this targeting or accusatory, why are you speaking for them?
[1] https://rizin.re
[2] https://github.com/rizinorg/rizin
[3] https://github.com/rizinorg/rizin/labels/RzDebug
All comments shown.
Couldn't load more comments. Check your connection and try again.