Commit Graph

70 Commits

Author SHA1 Message Date
pancake
c576ca036b Detect shellscripts with pm 2015-06-29 11:36:50 +02:00
Álvaro Felipe Melchor
7bd2cd08ff Fix some warnings 2015-06-16 22:48:13 +02:00
jvoisin
0c144f16bc Even more coverifixes 2015-06-02 22:59:30 +02:00
pancake
455876fe51 ZIP signature is now less restrictive 2015-05-29 16:15:08 +02:00
pancake
917729be08 Fix --with-sysmagic, honor search.align and some more optimizations for /m 2015-03-27 04:05:00 +01:00
Maijin
30e2a2df7e Disable 2 anyoying MAGIC RULES
Disable 2 annoying MAGIC RULES making a lot of false positive in PE:
SAS and SAS 7+ (string)
2015-03-19 22:01:06 +01:00
jvoisin
838c467724 Coverifix once again 2015-02-19 15:04:58 +01:00
pancake
d8098a64f8 Fix softmagic 2015-02-18 01:22:20 +01:00
pancake
ec5836963b Better JPEG and GPG magic signatures 2015-02-17 02:17:46 +01:00
pancake
d7747ab831 Fix read overflow in libr_magic 2015-02-17 02:03:15 +01:00
pancake
c2febd2ffc Drop some noisy magic rules 2015-02-06 23:59:19 +01:00
pancake
383e225135 Fixes on top of the clang-warn-fix commit 2015-02-05 10:57:28 +01:00
Jeffrey Crowell
d4e0575d67 build on clang jenkins now 2015-02-05 10:57:21 +01:00
jvoisin
249fb839fe Coverifix 2015-01-30 22:51:01 +01:00
jvoisin
abd2fb5179 Some coverifix 2015-01-15 23:52:56 +01:00
Jeffrey Crowell
ed1aae7fd1 fix lots of spelling
fix some errors from the sed script

undo file mode crap
2014-12-07 17:00:59 +01:00
Kamil Rytarowski
aadbd0f868 Fix GCC warnings: array subscript has type 'char'
Reported at NetBSD-current/amd64
GCC 4.8.4 (nb1 20141012)
2014-12-04 03:26:08 +00:00
pancake
97b8064f42 Fix non-aarch64 android builds? and build fail for --with-sysmagic 2014-11-10 02:26:03 +01:00
pancake
bf541e8ec8 More magic cleanup 2014-10-22 06:07:22 +02:00
pancake
1d9955b2d4 Clean unnecessary MAGIC rules and optimize its search
- Cleanup MAGIC database to avoid false positives,
- Optimize magic search loop 6x faster /m
2014-10-22 00:56:11 +02:00
pancake
b8b240588e Add TRX magic header 2014-10-20 02:09:39 +02:00
pancake
d809200fa2 Fix more memleaks 2014-08-29 16:42:00 +02:00
pancake
ef8933173f More fixes for 'pm' and '/m' 2014-08-11 03:01:41 +02:00
pancake
19239ae8f2 More updates for magicdir 2014-08-11 02:23:23 +02:00
pancake
683c0eb8dd Fix magicdir for mach0 files 2014-08-11 01:59:36 +02:00
pancake
08c1a81ccb Cleanup and update libmagic database 2014-08-11 01:50:51 +02:00
jvoisin
975daf00f5 Coverifix 2014-07-30 22:26:13 +02:00
pancake
2719a78290 Support make install & make symstall with DESTDIR or PREFIX with spaces 2014-07-10 01:13:04 +02:00
Jonathan Neuschäfer
3276fdd1dc Fix two out-of-bounds reads in softmagic.c:match 2014-06-25 11:45:09 +02:00
jvoisin
2c263fbc22 Fix CID 1134681 2014-05-24 01:00:56 +02:00
Anton Kochkov
8032c66b82 Fix CID 1135061 2014-05-13 02:26:48 +04:00
Anton Kochkov
ff17fab130 Fix CID 1134880 2014-05-03 10:48:06 +04:00
Anton Kochkov
d56b4046de Fix CID 1134837 2014-05-03 04:29:09 +04:00
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
pancake
86507d9637 Fix stuff to make perl bindings happy 2014-01-05 00:41:13 +01:00
pancake
dba63fbd3c Add some Jam files and merge rsign into ranal 2013-12-31 05:30:39 +01:00
pancake
d02df0d306 Fix some issues reported by CoverityScan service 2013-12-03 00:14:59 +01:00
pancake
d6de30eba4 More R_LIB_VERSION and initial r_asm_set_cpu() dummy api 2013-06-15 02:56:25 +02:00
capi_x
c9eb90adbc Add initial Haiku support 2013-06-06 00:21:52 +02:00
pancake
d82c53224f Fix w32 build 2013-01-23 14:50:50 +01:00
pancake
e48b9b2f30 Add cfg.sandbox functionality
f.example: $ r2 -c=H -e cfg.sandbox=true -
2012-10-20 00:31:18 +02:00
pancake
69a12884ed Simplify the build system
doc.sw has been moved to radare2-extras
2012-10-03 14:31:35 +02:00
pancake
0e82165bf7 Honor make -s and lot of build cleanups 2012-08-14 15:44:17 +02:00
pancake
65d1dddfd1 * apply rudi_s patch fixing multiple bugs
- Fix uninitialized variables and other GCC warnings
  - Remove unused variables, fix invalid heap ops
  - ?p print error if VA is not
  - Fix invalid write in r_io_cache_read().
* add support for 'mov reg, [addr]' in x86.nz[32]
2012-02-12 23:45:04 +01:00
pancake
4a50f8a94d * Distribute magic files with w32dist
* Fix symstall of magic files
* Do not walk hidden files in magic
* Add has_va in RBinInfo class for bindings
2011-11-29 18:31:26 +01:00
pancake
048e9ea8ce * Fix some warnings related to alloca(), %llx and O_BINARY for w32
* sync sdb
* Add some more eval var descriptions
2011-11-29 12:28:02 +01:00
pancake
35d535095b * Install includes in windows dist
* Import linux-x86-32/64 and darwin-x86-32 sflib includedirs
* Simplify data installation for magic, egg, syscall and asm
* Set R2_INCDIR in r_userconf
* Make ragg2-cc much smarter
  - use ragg2 -v to get paths and version
  - accept new flags -a -b -k for arch, bits and kernel
  - supports crosscompilation

--HG--
rename : libr/magic/d/OpenBSD => libr/magic/d/default/OpenBSD
rename : libr/magic/d/archive => libr/magic/d/default/archive
rename : libr/magic/d/cafebabe => libr/magic/d/default/cafebabe
rename : libr/magic/d/cisco => libr/magic/d/default/cisco
rename : libr/magic/d/database => libr/magic/d/default/database
rename : libr/magic/d/editors => libr/magic/d/default/editors
rename : libr/magic/d/elf => libr/magic/d/default/elf
rename : libr/magic/d/filesystems => libr/magic/d/default/filesystems
rename : libr/magic/d/flash => libr/magic/d/default/flash
rename : libr/magic/d/freebsd => libr/magic/d/default/freebsd
rename : libr/magic/d/gimp => libr/magic/d/default/gimp
rename : libr/magic/d/images => libr/magic/d/default/images
rename : libr/magic/d/java => libr/magic/d/default/java
rename : libr/magic/d/jpeg => libr/magic/d/default/jpeg
rename : libr/magic/d/linux => libr/magic/d/default/linux
rename : libr/magic/d/mail.news => libr/magic/d/default/mail.news
rename : libr/magic/d/matroska => libr/magic/d/default/matroska
rename : libr/magic/d/mime => libr/magic/d/default/mime
rename : libr/magic/d/msdos => libr/magic/d/default/msdos
rename : libr/magic/d/netbsd => libr/magic/d/default/netbsd
rename : libr/magic/d/pdf => libr/magic/d/default/pdf
rename : libr/magic/d/perl => libr/magic/d/default/perl
rename : libr/magic/d/python => libr/magic/d/default/python
rename : libr/magic/d/riff => libr/magic/d/default/riff
rename : libr/magic/d/sniffer => libr/magic/d/default/sniffer
rename : libr/magic/d/sql => libr/magic/d/default/sql
rename : libr/magic/d/sun => libr/magic/d/default/sun
rename : libr/magic/d/uuencode => libr/magic/d/default/uuencode
2011-11-29 03:14:27 +01:00
pancake
31a11600c5 * Theorically fix the r_magic dirty sanchez bug
* Fix RIO seek undo with io.va
* Warn if file size != region size in dml
2011-11-16 10:06:34 +01:00
pancake
ac7f96bb0c * Add ragg2 -p to specify a padding
- Use the new r_egg_padding function
* Add support for continuations in rapatch2 '+' char
* Fix malloc(0) thanks to llvm's scan-build
* Fix build
2011-11-13 05:26:07 +01:00
pancake
14f85bd76f * Import Glyn Kennington's patch for the build system
- Use absolute paths everywhere and simplify Makefiles
2011-11-03 11:49:50 +01:00