Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael Zhang HMPerson1

View GitHub Profile
@HMPerson1
HMPerson1 / keybase.md
Created May 4, 2017
Keybase GitHub Proof
View keybase.md

Keybase proof

I hereby claim:

  • I am hmperson1 on github.
  • I am hmperson1 (https://keybase.io/hmperson1) on keybase.
  • I have a public key ASDSwbt-CYJ9D1G8Jdxkf84dxB9udF4rY2xSFBvGTvVbfAo

To claim this, I am signing this object:

@HMPerson1
HMPerson1 / main.py
Created Feb 16, 2018
Janky Python CFG Generator
View main.py
#!/usr/bin/env python3
import dis
import opcode
import argparse
import io
OP_RETURN_VALUE = opcode.opmap['RETURN_VALUE']
OP_JUMP_ABSOLUTE = opcode.opmap['JUMP_ABSOLUTE']
OP_JUMP_FORWARD = opcode.opmap['JUMP_FORWARD']
@HMPerson1
HMPerson1 / nb.ipynb
Last active Jul 8, 2019
primer tweet
View nb.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View 6502_divmod10.s
value = $0200 ; 2 bytes
; tmp1 is (tmp1H):Y:X
tmp1H = $0202 ; 1 bytes
tmp2 = $0203 ; 3 bytes
MOD10_LUT:
.byte 0
.byte 1
.byte FF