radare2/libr/magic
2023-02-23 15:54:17 +01:00
..
d Add Inferno Dis ##magic 2023-02-23 15:54:17 +01:00
apprentice.c Also replace __UNIX__ with R2__UNIX__ 2022-12-10 20:32:10 +01:00
ascmagic.c Use more tabs and add a (disabled for now) linter for it ##lint 2022-09-23 22:07:49 +02:00
deps.mk Improve output for make -s and fix magic install with symlinks issue (#18781) 2021-05-30 23:46:58 +02:00
file_opts.h
file.h Superseed #20447 - remove some magic globals ##search 2022-09-14 18:49:24 +02:00
fsmagic.c More source spacing linting 2022-08-18 14:37:29 +02:00
funcs.c Enable the leading spaces linter rule and fix them all ##lint 2022-09-24 03:43:21 +02:00
is_tar.c More source spacing linting 2022-08-18 14:37:29 +02:00
magic.c fix ifdef 2022-11-02 22:03:45 +01:00
Makefile Improve output for make -s and fix magic install with symlinks issue (#18781) 2021-05-30 23:46:58 +02:00
mconfig.h
mdump.c Use R_LOG in RMagic.warnMsg() and enable more lints 2022-10-09 01:14:29 +02:00
meson.build Only build library archives when -Dblob is provided ##build 2022-03-22 11:59:13 +01:00
names.h Balance spacings in braces ##indent 2022-10-13 21:21:34 +02:00
patchlevel.h
README
softmagic.c Boolify and rename some methods and fields from RFS ##api 2022-09-14 23:41:12 +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