radare2/libr/magic
2016-09-19 14:44:47 +02:00
..
d build cleanup focused on possibility to control the lib directories with the build parameters 2015-10-27 03:26:45 +01:00
apprentice.c Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
ascmagic.c Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
config.h Add some Jam files and merge rsign into ranal 2013-12-31 05:30:39 +01: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.h More OSX-PPC fixes 2016-04-27 01:52:35 +02:00
fsmagic.c Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
funcs.c Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
is_tar.c * Bump 0.8.8, but still not release 2011-10-18 09:38:20 +02:00
Jamroot Add some Jam files and merge rsign into ranal 2013-12-31 05:30:39 +01:00
magic.c Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
Makefile More OSX-PPC fixes 2016-04-27 01:52:35 +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 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
README * Implement RBinCreate.elf-arm 2011-09-12 01:47:28 +02:00
softmagic.c Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +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