mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-27 07:55:14 +00:00
c31d81da26
* support for static build * improved sharard/static build |
||
---|---|---|
.. | ||
d | ||
apprentice.c | ||
ascmagic.c | ||
file_opts.h | ||
file.1 | ||
file.h | ||
fsmagic.c | ||
funcs.c | ||
is_tar.c | ||
magic.c | ||
Makefile | ||
mconfig.h | ||
meson.build | ||
names.h | ||
patchlevel.h | ||
print.c | ||
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