radare2/libr/magic
2022-07-20 13:24:46 +02:00
..
d mbr magic is not good for deltified matches ##search 2022-07-14 18:08:16 +02:00
apprentice.c Move more local static into the thread-local-storage (#20134) 2022-05-19 12:41:26 +02:00
ascmagic.c Unconditionally compile r_magic_from_ebcdic 2022-05-10 11:43:35 +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 Remove trailing spaces (#19460) 2021-12-02 17:39:59 +01:00
fsmagic.c Dont use != NULL as its implicit in C, even for bool casts ##refactor 2022-03-15 19:54:04 +01:00
funcs.c Remove all the uses of %z as its not supported on Windows 2022-02-01 11:07:46 +01:00
is_tar.c Remove trailing spaces (#19460) 2021-12-02 17:39:59 +01:00
magic.c Dont use != NULL as its implicit in C, even for bool casts ##refactor 2022-03-15 19:54:04 +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 Remove unused daylight logic in magic/mdump ##refactor 2022-07-20 13:24:46 +02:00
meson.build Only build library archives when -Dblob is provided ##build 2022-03-22 11:59:13 +01:00
names.h Remove trailing spaces (#19460) 2021-12-02 17:39:59 +01:00
patchlevel.h
README
softmagic.c Remove newline in date and pt. output ##shell 2022-06-03 20:52:46 +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