Wizard079forCOPS IIT BHUblogs.copsiitbhu.co.in·Oct 1, 2024Understanding Buffer Overflows: A Beginner's Guide - Part 2This article is a 2nd part of https://blogs.copsiitbhu.co.in/understanding-buffer-overflows-a-beginners-guide-part-1 make sure you have read that for understanding it In this article, we will dive into the binary and see what’s going on; for that, we...Discuss·11 likes·82 readsProgramming Blogs
Joshua Colecolej.net·Sep 8, 2024How to Reverse Engineer Stripped Binaries Easily Using GDBDuring in the process of reverse engineering binaries, a common problem arises. How do I reverse engineer stripped binaries? There are no symbols to break on, offsets change, scripts don't work, and you ask yourself why am I doing this? Luckily there...Discuss·38 readsgdb
clockworkclockwork.hashnode.dev·Feb 19, 2024ELF - executable linkable file.noise howdy_amigos, In this post I want to dig into the ELF file format. In case you never heard of this - it's the format for executable files, or binaries, on Linux. Binaries contain operational codes, metadata and memory sections, combined into a...Discuss·192 readsLinuxelf
Damon Vesseydamonvessey.com·Feb 18, 2024What are registers?You can think of registers as variables the CPU uses for faster data access than accessing data from memory. There are only a few registers the CPU has, so where do we store the rest of our variables in our programs? The stack and the heap. We can se...Discuss·55 readsFrom Beginner to Smashing the Stack for Fun and Profit and Beyondgdb
Damon Vesseydamonvessey.com·Feb 12, 2024Disassembling Hello World!This isn't meant to be a tutorial on C programming, but an introduction to debugging and disassembling C programs. If this is your first time seeing C code, that's ok too. I am running Windows XP inside a virtual machine, and this is important becaus...Discuss·69 readsFrom Beginner to Smashing the Stack for Fun and Profit and BeyondC
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 15, 2023Simple debugging with gdbDebugging Finding and repairing software errors is known as debugging. When a program has bugs, it can crash, behave unpredictably, or generate inaccurate results. In most cases, the steps involved in debugging are: Identifying the Bug: This can be ...Discussgdb
Mohamed Mokhtarrrrokhtar.hashnode.dev·Apr 26, 2023GDB Debugging session PostgreSQL & AGEPrerequisite Having a running instance of Postgresql server and (having it surely installed beside AGE and debug flag is enabled) The following commands are used for loading AGE CREATE EXTENSION age; LOAD ‘age’; SET search_path = ag_catalog, "$user...Discuss·28 readsgdb
AMIT KUMAR MISHRAamit0617.hashnode.dev·Mar 11, 2023One tool for all your segmentation faultsNew programmers often face errors such as segmentation faults during programming in C-type languages. Few of them try to understand otherwise most are just using print statements to narrow down the problem triggering point. And that's completely norm...Discuss·1 likeDebuggingFeb
Bill Van Leeuwenblog.billvanleeuwen.ca·Mar 10, 2023Debugging Code With GDB and ValgrindFor this project, I followed the GDB instructions from Bootlin and used Valgrind on one of my programs from my High-Performance Computing class. Intro to GDB and Valgrind GDB GDB is a full-featured and open-source debugger. It is integrated into VSCo...Discuss·411 readsgdb
Danny Priceastro.hashnode.dev·Feb 27, 2023Debugging a segfault in a python ctypes projectWhen a pure Python program crashes, a verbose traceback is printed. The traceback makes it easy to find where in your code things went wrong. However, if your Python program is wrapping some C code, you need to run through a few hoops to see what wen...Discuss·501 readsPython