Commit Graph

14443 Commits

Author SHA1 Message Date
pancake
b22656289e Fix undefined variable bug in capstone
Ref https://github.com/aquynh/capstone/pull/893
2017-04-17 23:41:14 +02:00
pancake
54f6efddde Upgrade capstone-next to get tms320c64x support and more fixes for SFC 2017-04-17 23:37:04 +02:00
pancake
acc2f19831 Fixes for the sfc plugin 2017-04-17 23:20:25 +02:00
usr_share
6d9db7e891 Implemented a sort-of-working SNES/SFC file format 2017-04-17 23:14:42 +02:00
pancake
5fc6dc30a8 Fix build 2017-04-17 23:06:44 +02:00
pancake
a66cc10d46 Fix a huge list of null derefs from clang-analyzer 2017-04-17 22:02:04 +02:00
pancake
e641318973 Fix a bunch of bugs reported by clang-analyzer 2017-04-17 19:59:14 +02:00
Pepe Vila
046a31cad4 ~? shows help 2017-04-17 17:15:20 +02:00
dx
8baa2643b3 Fix escaping of JSON unicode literals (#7294)
- revert 5f1efc9d (which adds double escaping with r_str_escape),
- re-apply 1c6a3138 (my previous commit)
- fix the recent commits 69a7e122 and 04ad4dcf to use r_str_utf16_encode
  instead of r_str_escape since the former produces "\u0000" and the
  latter produces "\x00" which is not valid JSON
- partially revert 8fd10e11 which had a hack to not escape backslashes
  followed by a u
2017-04-17 16:54:37 +02:00
dx
cde7747504 grep: Fix ~[x] with x higher than the total number of columns (#7284)
For example, "ii~[2]" didn't filter anything at all because the first
row only has one column
2017-04-17 13:54:16 +02:00
Anton Kochkov
82e41828ac Fix Cygwin build [2] 2017-04-17 19:30:39 +08:00
Anton Kochkov
a8d5b68320 Fix Cygwin build 2017-04-17 19:03:30 +08:00
pancake
8fd10e11aa Fix /xj and /j unicode escape issues 2017-04-17 12:57:04 +02:00
pancake
26f7c77a42 Fix latest covs 2017-04-17 12:43:56 +02:00
alvarofe
89fea59cc5 Fix oob read in radare2.c when -R 2017-04-16 20:45:21 +02:00
alvarofe
5f1efc9d68 Fix #7282 - escape data in /j output 2017-04-16 20:28:47 +02:00
Pepe Vila
8570f4fc5d fixed r_types.h use in wasm (#7292) 2017-04-16 19:37:15 +02:00
radare
eca157603e Revert "r_str_utf16_encode: escape backslash characters too (#7288)" (#7289)
This reverts commit 1c6a313821.
2017-04-16 11:48:26 +02:00
dx
1c6a313821 r_str_utf16_encode: escape backslash characters too (#7288)
That function emits backslash escaped unicode sequences, so backslashes
should be escaped too. This fixes invalid json issues in /j
2017-04-16 11:47:04 +02:00
pancake
04ff4a5195 Fix #6428 - Honor scr.color in ad command 2017-04-16 11:41:27 +02:00
pancake
07c77484ba Fix opsize in pij 2017-04-16 11:20:16 +02:00
pancake
eba88d8758 Honor midflags in pid and pdi 2017-04-16 11:12:41 +02:00
pancake
413f68ca79 Honor midflags in pij 2017-04-16 11:03:11 +02:00
pancake
e7b852adec Honor midflags in pi 2017-04-16 11:03:02 +02:00
0x0dada
7327642241 Fix incorrect modes various .c files. (#7287) 2017-04-16 10:10:04 +02:00
Pepe Vila
910d65da02 display the help for the % command (#7283) 2017-04-16 09:42:30 +02:00
Jean Quilbeuf
97cb38258b Correcting typos in type database 2017-04-15 20:03:23 +02:00
Pepe Vila
40a33b3a26 Rewrite WASM to fix all oob issues 2017-04-15 19:57:54 +02:00
pancake
ddb4e9f216 Fix rahash2 test 2017-04-15 19:56:25 +02:00
Rene Laemmert
667d079b6a Improvements in aab
- Add 'valid end' as function detection metric
- Fix memory leak and some cosmetics
2017-04-15 16:45:16 +02:00
pancake
08d824824e Fix build 2017-04-15 13:29:27 +02:00
pancake
fd8c64f7bb Update capstone from git 2017-04-15 13:08:47 +02:00
Marcel
a4fc91f29b Remove dirent.h dependency for Windows and add utf16<->utf8 conversion function 2017-04-15 13:07:33 +02:00
Sebastien Marie
80453e0792 Fix BSD build after 94d85cad32 (#7279)
Retrieve UID information from kvm interface, and pass it to
r_debug_pid_new() function.
2017-04-15 13:04:20 +02:00
Simone Ferrini
bd3fd14150 [linux-heap-glibc] fixed malloc_chunk size (#7278) 2017-04-15 13:04:00 +02:00
Simone Ferrini
3b7cb8323f [linux-heap-glibc] moved free to the ritght context (#7277) 2017-04-15 13:03:49 +02:00
SkUaTeR
5406f44b06 Fix #7269 - drx-0 not working 2017-04-14 16:47:05 +02:00
Francesco Tamagni
a6ce0993ad Bring back NULL checks for ds->opstr (#7273)
- fix a NULL dereference on `strstr` happening on `agf` under certain conditions
2017-04-14 14:10:24 +02:00
pancake
931654a515 Add 'fd.' command to find flags without delta 2017-04-14 10:06:06 +02:00
pancake
c6049ab42d Hide stderr in type perl for configure-plugins 2017-04-13 23:34:55 +02:00
Sven Steinbauer
d0f70cf62e Check for negative register values (#7266) 2017-04-13 23:11:04 +02:00
pancake
05cb1612d2 Fix #7268 - wrong disasm with asm.pseudo=1 and asm.cmtright=0 2017-04-13 23:10:43 +02:00
Álvaro Felipe Melchor
2f19876290 Add workaround for import without plt entry (#7242) 2017-04-13 15:35:50 +02:00
pancake
d2632f6483 Fix crash in fuzzed wasm r2_hoobr_consume_init_expr 2017-04-13 15:31:24 +02:00
pancake
395dc5c1e6 Fix undefined behaviour in calling conventions initialization 2017-04-13 15:04:59 +02:00
Álvaro Felipe Melchor
825caa96bc Fix #6955 - get rid of .check in RBinPlugin and RBinXtrPlugin 2017-04-13 11:54:28 +02:00
Giovanni
e9a9ad5f43 Use stdout in rahash2 -h 2017-04-13 11:53:40 +02:00
pancake
3f041e362f Fix crash with undefined behaviour in swift demangler 2017-04-13 02:12:08 +02:00
pancake
233a584b99 Fix oob in wasm 2017-04-12 22:23:54 +02:00
pancake
2d7e4dd9ff Identify Android Wear DEX binaries 2017-04-12 22:23:29 +02:00