radare2/libr/magic
2022-09-07 11:58:28 +02:00
..
d Enable linting for trailing tabs ##lint 2022-08-22 23:25:40 +02:00
apprentice.c Fix a few GCC 12 warnings from #20087 2022-09-07 11:58:28 +02:00
ascmagic.c Test and benchmark --with-sysmagic in the CI ##search 2022-08-07 16:24:08 +02:00
deps.mk
file_opts.h
file.h Remove trailing spaces (#19460) 2021-12-02 17:39:59 +01:00
fsmagic.c More source spacing linting 2022-08-18 14:37:29 +02:00
funcs.c Enable linting for trailing tabs ##lint 2022-08-22 23:25:40 +02:00
is_tar.c More source spacing linting 2022-08-18 14:37:29 +02:00
magic.c More source spacing linting 2022-08-18 14:37:29 +02:00
Makefile
mconfig.h
mdump.c More source spacing linting 2022-08-18 14:37:29 +02:00
meson.build Only build library archives when -Dblob is provided ##build 2022-03-22 11:59:13 +01:00
names.h More source spacing linting 2022-08-18 14:37:29 +02:00
patchlevel.h
README
softmagic.c Linting for 'cmp (' and asan in Cf 2022-08-20 12:35:11 +02:00
tar.h Remove trailing spaces (#19460) 2021-12-02 17:39:59 +01: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