RR is a very useful tool for debugging. It| /dev/posts/
When we debug a program with printf() we have to recompile it whenever we add new printf() statements! Right!? Wrong! With gdb we can add printf() statements without recompiling a program and even add them while it is running. Adding Printfs with GDB Let’s say we have the following example program that computes the sum … Continue reading Dynamic Printf Debugging with GDB| Abstract Expression
Most programmers prefer to write code over debugging it. Unfortunately, code breaks a lot more often than we would like and it often breaks in situations that are hard to debug. Therefore, an essential skill as a programmer is to know how to debug your code (and that of others). When facing our first bug … Continue reading Getting started with GDB| Abstract Expression
Wer beim Amt nur den Satz „Ich brauche einen Behindertenausweis“ einreicht, stellt damit bereits einen vollwertigen Antrag – und setzt eine gesetzliche Uhr in| Bürgergeld
Ever wondered how to inject code into a process on Linux?| GreyNoise Labs
In debuggers, stepping into a function with arguments that involve function calls may step into the nested function calls, even if they are simple and uninteresting, such as those found in the C++ STL| MaskRay
I love a good crackme. It was one of the first things I practised when I did my first CTF (Pico) this year. This challenge is for newcomers to Reverse Engineering. Crackme1 Nothing special, you just need to give execution permissions to the binary and then execute it. Crackme2 This binary asks us for a […]| Sharp Security
1. Introduction I am working on a new PostgreSQL feature that redefines the way a tuple's visibility status is determined. The feature is working very nicely until I start doing a large SELECT query, which triggers PostgreSQL to spawn multiple parallel workers to process the request. When this happens, the feature I am working on| Highgo Software Inc. - Enterprise PostgreSQL Solutions
So I have these self-contained C++ files and with a shortcut key I want to automatically build and run active file, and then use a debugger as well if I want to. Who would want to do this? Either you are just learning the language and want a quick way to prototype, or you are […]| Bruceoutdoors Blog of Blots
This post is part of a series, check out the others in the series here:| k3170
With Google’s recent announcement of support for running real Linux apps on Chrome OS, I picked up a Pixelbook, since I’ve been long awaiting the viability of Chromebooks as development machines. After setting up a dev VM and experimenting with various projects, I found that one Tensorflow application I was playing with would lock up, hard, inside the Crostini VM on my Chromebook. After adding some debug prints, I discovered that virtually any calls into numpy.linalg.inv were hanging. I c...| nelhage debugs shit
GDB has an amazing feature that allows to run arbitrary functions on a target process. This is really useful to access information at runtime that was not en...| hondu.co