Skip to content

Instantly share code, notes, and snippets.

@Ayrx
Ayrx / jni_binja.h
Created May 16, 2020 12:32
JNI header with tweaks for Binary Ninja parser
typedef long jint;
typedef int64_t jlong;
typedef signed char jbyte;
/*
* JNI Types
*/
typedef unsigned char jboolean;
typedef unsigned short jchar;
@bsdlme
bsdlme / vagrant-bhyve.md
Last active December 4, 2024 21:35
Setting up vagrant-bhyve on FreeBSD

Using bhyve with vagrant

The following describes how to set up bhyve with Vagrant using the vagrant-bhyve plugin.

Prerequisites

@quark-zju
quark-zju / gdb-trace.py
Last active June 11, 2025 01:50
Trace all function calls using gdb
#!/usr/bin/env python
try:
import gdb
inside_gdb = True
except ImportError:
inside_gdb = False
if inside_gdb: