radare2/libr/magic
2024-08-17 13:39:25 +02:00
..
d Add CRC search to magic ##search 2024-08-17 13:39:25 +02:00
apprentice.c Fix symbol conflict with libmagic 2024-02-27 16:22:16 +01:00
ascmagic.c Fix symbol conflict with libmagic 2024-02-27 16:22:16 +01: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 Fix symbol conflict with libmagic 2024-02-27 16:22:16 +01:00
fsmagic.c Fix symbol conflict with libmagic 2024-02-27 16:22:16 +01:00
funcs.c Fix symbol conflict with libmagic 2024-02-27 16:22:16 +01:00
is_tar.c Fix symbol conflict with libmagic 2024-02-27 16:22:16 +01:00
magic.c Fix symbol conflict with libmagic 2024-02-27 16:22:16 +01:00
Makefile Do not include .c in libr/magic 2023-09-12 17:12:44 +02:00
mconfig.h
mdump.c Fix symbol conflict with libmagic 2024-02-27 16:22:16 +01:00
meson.build Do not include .c in libr/magic 2023-09-12 17:12:44 +02:00
names.h Fix #19823 - Changed http to https 2024-02-14 17:42:25 +01:00
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 Fix symbol conflict with libmagic 2024-02-27 16:22:16 +01: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