radare2/libr/magic
2014-10-22 06:07:22 +02:00
..
d More magic cleanup 2014-10-22 06:07:22 +02:00
apprentice.c Clean unnecessary MAGIC rules and optimize its search 2014-10-22 00:56:11 +02:00
ascmagic.c Clean unnecessary MAGIC rules and optimize its search 2014-10-22 00:56:11 +02:00
config.h
file_opts.h
file.1
file.h
fsmagic.c
funcs.c Clean unnecessary MAGIC rules and optimize its search 2014-10-22 00:56:11 +02:00
is_tar.c
Jamroot
magic.c Clean unnecessary MAGIC rules and optimize its search 2014-10-22 00:56:11 +02:00
Makefile
names.h
patchlevel.h
print.c
README
softmagic.c Fix two out-of-bounds reads in softmagic.c:match 2014-06-25 11:45:09 +02:00
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