rizin/libr/magic
jvoisin 65bb8c5ec6 Coverity fixes #590
- Sandbox r2agent
- Check a return value
- Add missing parentheses
- Add missing parentheses
- Fix a division by zero
- Fix a wrong assignation
2014-02-02 23:58:50 +01:00
..
d
apprentice.c Fix stuff to make perl bindings happy 2014-01-05 00:41:13 +01:00
ascmagic.c Coverity fixes #590 2014-02-02 23:58:50 +01:00
config.h Add some Jam files and merge rsign into ranal 2013-12-31 05:30:39 +01:00
file.1
file.h Add some Jam files and merge rsign into ranal 2013-12-31 05:30:39 +01:00
file_opts.h
fsmagic.c
funcs.c
is_tar.c
Jamroot Add some Jam files and merge rsign into ranal 2013-12-31 05:30:39 +01:00
magic.c More R_LIB_VERSION and initial r_asm_set_cpu() dummy api 2013-06-15 02:56:25 +02:00
Makefile Add cfg.sandbox functionality 2012-10-20 00:31:18 +02:00
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