radare2/libr/magic
whitequark 0f97fdd228 Fix numerous issues with pkgconfig files.
* Modifications like adding @SSL_CFLAGS@ to .pc.acr files that
    would be overwritten by `make pkgcfg` have been moved to
    Makefiles proper.
  * Missing .pc.acr files for libraries r_egg and r_crypto were
    added to the tree as well as the configure script.
  * Instead of explicitly listing every -lr_* library in every
    .pc file in the Libs: section, r_* libraries are now listed
    in the Requires: section, which ensures that flags get
    transitively propagated. This gets rid of the MAGICSED hack.
2018-01-11 23:09:22 +01:00
..
d Fix typo regarding byte size (#9067) 2017-12-27 18:33:58 +01:00
apprentice.c Fix last covs 2017-07-26 18:46:29 +02:00
ascmagic.c Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
file_opts.h * Initial import of r_magic 2011-09-10 01:30:03 +02:00
file.1 * Initial import of r_magic 2011-09-10 01:30:03 +02:00
file.h Remove configure-plugins dependency for the make meson 2017-05-26 02:43:53 +02:00
fsmagic.c Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
funcs.c Leak fixes (#8060) 2017-07-30 03:57:02 +02:00
is_tar.c * Bump 0.8.8, but still not release 2011-10-18 09:38:20 +02:00
magic.c Fixed r_magic_version prototype warning 2017-12-31 20:29:09 +08:00
Makefile Fix numerous issues with pkgconfig files. 2018-01-11 23:09:22 +01:00
mconfig.h Remove configure-plugins dependency for the make meson 2017-05-26 02:43:53 +02:00
meson.build support for static build (#7822) 2017-06-28 22:54:40 +02:00
names.h * Initial import of r_magic 2011-09-10 01:30:03 +02:00
patchlevel.h * Initial import of r_magic 2011-09-10 01:30:03 +02:00
print.c Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
README * Implement RBinCreate.elf-arm 2011-09-12 01:47:28 +02:00
softmagic.c Fix a few {A,M,UB}SAN complaints 2017-07-26 20:54:52 +08:00
tar.h * Implement RBinCreate.elf-arm 2011-09-12 01:47:28 +02: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