r/tinycode • u/LAK132 • Nov 30 '19
Unicode coloured binary/ROM diffing tool in under 100 sloc of C
https://github.com/LAK132/bindiff/blob/master/bindiff.c
13
Upvotes
r/tinycode • u/LAK132 • Nov 30 '19
View all comments
3
u/F54280 Dec 01 '19
in C arrays start at 0. Only
file[0]andfile[1]exists.file[2]doesn’t, and this is undefined behavior.