Skip to content

Instantly share code, notes, and snippets.

0x6a61 /
Last active Apr 12, 2020
Compile C-File to avr, emulate chip and finally debug with gdb-avr
avr-gcc -g -O0 -mmcu=atmega16 main.c
simavr -m atmega16 -g -v a.out
target remote
file /tmp/a.out
# Radare 2
View gist:451ae7c04b4c2fb92370367a47a5cf5d
# ~/.radare2rc
e asm.describe=true
e asm.pseudo=true
e asm.emu = true
e asm.trace=true
e asm.cmtright=true
e cmd.stack = true
eco solarized
You can’t perform that action at this time.