rizin/libr/magic
2020-04-02 14:30:27 +02:00
..
d Add LZMA-BE magic signatures ##search 2020-03-31 21:17:02 +02:00
apprentice.c Avoid duplicated module filenames to fix static.sh ##build (#16403) 2020-04-02 14:30:27 +02:00
ascmagic.c
deps.mk
file.h Introduce the r_magic_load_buffer() api and boolify a bit ##search (#15617) 2019-12-12 17:12:33 +01:00
file_opts.h
fsmagic.c
funcs.c Fix last covs 2020-02-28 17:38:51 +01:00
is_tar.c
magic.c Make it possible to use sysmagic again (#15658) 2019-12-16 23:24:29 +01:00
Makefile
mconfig.h
mdump.c Avoid duplicated module filenames to fix static.sh ##build (#16403) 2020-04-02 14:30:27 +02:00
meson.build Make it possible to use sysmagic again (#15658) 2019-12-16 23:24:29 +01:00
names.h
patchlevel.h Introduce the r_magic_load_buffer() api and boolify a bit ##search (#15617) 2019-12-12 17:12:33 +01:00
README
softmagic.c
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