Skip to content

Instantly share code, notes, and snippets.

@lwerdna
lwerdna / bin2hilbert.py
Created May 5, 2020 02:27
draw functions (identified with Binary Ninja) as Hilbert curve regions
#!/usr/bin/env python
# draw functions (identified with Binary Ninja) as Hilbert curve regions
# usage:
# ./bin2hilbert.py /path/to/mybinary.exe
#
# then check /tmp/tmp.png
import os
import sys