Skip to content

Instantly share code, notes, and snippets.

@drgnz
drgnz / _idapro9_macarm_patch_guide.md
Created October 30, 2024 14:44 — forked from sagittarius-a/_idapro9_macarm_patch_guide.md
Guide: Patching IDA Pro 9.0 BETA

Patching the IDA Pro 9.0 BETA

Note

Obligatory disclaimer: this is for educational purposes only. I am not responsible for any damages caused by following this guide, or using any of the script(s) herein.

This guide prioritizes arm64 macOS, but may also work for other platforms.


Step 1 - Patching dylibs

@drgnz
drgnz / reverse-engineering-golang.md
Created October 30, 2024 14:38 — forked from 0xdevalias/reverse-engineering-golang.md
Some notes, tools, and techniques for reverse engineering Golang binaries
@drgnz
drgnz / LetsDestroyC.md
Created May 28, 2024 14:38 — forked from shakna-israel/LetsDestroyC.md
Let's Destroy C

Let's Destroy C

I have a pet project I work on, every now and then. CNoEvil.

The concept is simple enough.

What if, for a moment, we forgot all the rules we know. That we ignore every good idea, and accept all the terrible ones. That nothing is off limits. Can we turn C into a new language? Can we do what Lisp and Forth let the over-eager programmer do, but in C?


@drgnz
drgnz / list.md
Created October 30, 2023 10:33 — forked from ih2502mk/list.md
Quantopian Lectures Saved

Assembly Language / Reversing / Malware Analysis -resources

Twitter: Muffin

⭐Assembly Language

@drgnz
drgnz / introrx.md
Created September 20, 2018 11:24 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@drgnz
drgnz / Quirks of C.md
Created September 10, 2018 17:03 — forked from fay59/Quirks of C.md
Quirks of C

Here's a list of mildly interesting things about the C language that I learned over time. There are many more mildly interesting features of C++, but the language is literally known for being weird, whereas C is usually considered smaller and simpler, so this is (almost) only about C.

1. Combined type and variable/field declaration, inside a struct scope [https://godbolt.org/g/Rh94Go]

struct foo {
   struct bar {
       int x;
   } baz;
};
@drgnz
drgnz / recover_source_code.md
Created March 13, 2017 00:17 — forked from simonw/recover_source_code.md
How to recover lost Python source code if it's still resident in-memory

How to recover lost Python source code if it's still resident in-memory

I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6

Attach a shell to the docker container

Install GDB (needed by pyrasite)

apt-get update && apt-get install gdb