radare2/libr/magic
2015-09-21 12:51:01 +02:00
..
d Fix #3297 - make install after make symstall 2015-09-17 11:11:24 +02:00
apprentice.c Fix yet-another-batch of clang-analyzer issues 2015-09-01 23:24:11 +02:00
ascmagic.c Clean unnecessary MAGIC rules and optimize its search 2014-10-22 00:56:11 +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 Add some Jam files and merge rsign into ranal 2013-12-31 05:30:39 +01:00
fsmagic.c * Distribute magic files with w32dist 2011-11-29 18:31:26 +01:00
funcs.c Fix #3192 - dsojson double free and code cleanup (-34LOC) 2015-08-31 21:58:59 +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 --with-sysmagic, honor search.align and some more optimizations for /m 2015-03-27 04:05:00 +01:00
Makefile Add cfg.sandbox functionality 2012-10-20 00:31:18 +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 some warnings related to alloca(), %llx and O_BINARY for w32 2011-11-29 12:28:02 +01:00
README * Implement RBinCreate.elf-arm 2011-09-12 01:47:28 +02:00
softmagic.c Fix softmagic crash in PE bin (reported by @daniel-rome) 2015-09-21 12:51:01 +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