radare2/libr/magic
2018-12-24 01:18:12 +01:00
..
d Add magic headers for GPG symmetric crypto ##magic 2018-12-14 11:54:53 +01:00
apprentice.c Fix few clang-analyzer warnings (#12548) 2018-12-24 01:18:12 +01:00
ascmagic.c Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
deps.mk Fix #10300 - Link issues --with-sysmagic 2018-06-11 03:36:45 +02:00
file_opts.h
file.1
file.h
fsmagic.c
funcs.c Fix more clangs (#12399) 2018-12-04 16:09:18 +01:00
is_tar.c Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
magic.c remove random warnings when compiling (#11767) 2018-10-08 13:21:50 +02:00
Makefile Fix #10300 - Link issues --with-sysmagic 2018-06-11 03:36:45 +02:00
mconfig.h
meson.build Meson private (#11331) 2018-09-03 10:07:28 +02:00
names.h
patchlevel.h
print.c Call to gmtime is potentially dangerous, replace with gmtime_r 2018-11-11 15:53:08 -08:00
README
softmagic.c Fix more clang-analyzer warnings (#12424) 2018-12-06 16:55:09 +01: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