radare2/libr/magic
2011-10-20 00:57:02 +02:00
..
d * Add missing r_anal_diff_setup_i() 2011-10-18 22:07:53 +02:00
apprentice.c * Bump 0.8.8, but still not release 2011-10-18 09:38:20 +02:00
ascmagic.c * Bump 0.8.8, but still not release 2011-10-18 09:38:20 +02:00
compress.c * Fix ~40 off-by-one strncpy's 2011-09-18 20:41:36 +02:00
config.h * Implement RBinCreate.elf-arm 2011-09-12 01:47:28 +02:00
file_opts.h * Initial import of r_magic 2011-09-10 01:30:03 +02:00
file.1 * Initial import of r_magic 2011-09-10 01:30:03 +02:00
file.c * Bump 0.8.8, but still not release 2011-10-18 09:38:20 +02:00
file.h * Implement raw get_main analysis for MACH0 binaries (x86-32/64) 2011-10-10 16:55:39 +02:00
fsmagic.c * Bump 0.8.8, but still not release 2011-10-18 09:38:20 +02:00
funcs.c * Bump 0.8.8, but still not release 2011-10-18 09:38:20 +02:00
is_tar.c * Bump 0.8.8, but still not release 2011-10-18 09:38:20 +02:00
magic.c * Add some wrapper methods to r_magic with sysmagic 2011-10-20 00:57:02 +02:00
Makefile * Honor LIBDIR in syscall/d and magic/d 2011-10-14 10:09:53 +02:00
names.h * Initial import of r_magic 2011-09-10 01:30:03 +02:00
patchlevel.h * Initial import of r_magic 2011-09-10 01:30:03 +02:00
print.c * Bump 0.8.8, but still not release 2011-10-18 09:38:20 +02:00
README * Implement RBinCreate.elf-arm 2011-09-12 01:47:28 +02:00
softmagic.c * Bump 0.8.8, but still not release 2011-10-18 09:38:20 +02:00
tar.h * Implement RBinCreate.elf-arm 2011-09-12 01:47:28 +02:00

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