mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-24 06:48:46 +00:00
65bb8c5ec6
- Sandbox r2agent - Check a return value - Add missing parentheses - Add missing parentheses - Fix a division by zero - Fix a wrong assignation
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