Skip to content

Instantly share code, notes, and snippets.

View MlsDmitry's full-sized avatar

MlsDmitry

View GitHub Profile
@guedou
guedou / GhidraDecompiler.java
Last active December 2, 2024 13:26
Call the Ghidra decompiler from the command line
// Copyright (C) 2019 Guillaume Valadon <guillaume@valadon.net>
// This program is published under a GPLv2 license
/*
* Decompile a function with Ghidra
*
* analyzeHeadless . Test.gpr -import $BINARY_NAME -postScript GhidraDecompiler.java $FUNCTION_ADDRESS -deleteProject -noanalysis
*
*/
@nbulischeck
nbulischeck / install-glibc-debug.sh
Last active October 22, 2024 14:44
Install glibc debug symbols on Arch Linux for pwndbg heap analysis
#!/bin/bash
# Install Dependencies
sudo pacman -S git svn gd lib32-gcc-libs patch make bison fakeroot
# Checkout glibc source
svn checkout --depth=empty svn://svn.archlinux.org/packages
cd packages
svn update glibc
cd glibc/repos/core-x86_64