mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-03 19:59:09 +00:00

* Many fixes for r_magic - Proper support for --with-sysmagic - Fix bindings build - Fix magic files to work with GNU file - Add magic instance in RCore - Use unowned instead of weak in vapi (deprecated)
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