mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-10 12:24:20 +00:00
65d1dddfd1
- Fix uninitialized variables and other GCC warnings - Remove unused variables, fix invalid heap ops - ?p print error if VA is not - Fix invalid write in r_io_cache_read(). * add support for 'mov reg, [addr]' in x86.nz[32] |
||
---|---|---|
.. | ||
d | ||
apprentice.c | ||
ascmagic.c | ||
compress.c | ||
config.h | ||
file_opts.h | ||
file.1 | ||
file.h | ||
fsmagic.c | ||
funcs.c | ||
is_tar.c | ||
magic.c | ||
Makefile | ||
names.h | ||
patchlevel.h | ||
print.c | ||
README | ||
softmagic.c | ||
tar.h |
This implementation of file(1) has been taken from OpenBSD, I have removed the elf part which reduces more than 1KLOC. I have also cleaned up the code in order to fix some warnings and integrate with r2 syntax. magic_ api is now r_magic_ --pancake $ cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs get src/usr.bin/file * understand and document how conditional works