Commit Graph

808 Commits

Author SHA1 Message Date
pancake
d6aeae624f Implement te,tb,tk and pf E, pf B to handle enum and bitfields 2014-09-21 01:39:18 +02:00
pancake
46ccb5e361 Fix pf x? (b)ee ;pf.a crash 2014-09-20 22:58:46 +02:00
deeso
55fe0a9e9a Added command that 'bruteforces' the parsing of a class file in a blob of data 2014-09-20 19:46:21 +02:00
pancake
fc2bb2af7f Fix 4GB issue file and some more warnings 2014-09-20 15:53:29 +02:00
pancake
4c4173769b Revert "Fixing the issue where file size exceeds size of an integer":
3adb00621b
e2afa84443
0761955fdb
17cc18fad0
135c62fb5d
2014-09-20 15:33:59 +02:00
Jonathan Neuschäfer
9b5d4d53bb fix an off-by-one bug in r_isprint
Array accesses, yeah.
2014-09-18 18:56:57 +02:00
Adam Pridgen
135c62fb5d Fixing *most* warnings related to the change in r_file_slurp 2014-09-17 22:37:54 -05:00
deeso
3adb00621b Fixing the issue where file size exceeds size of an integer 2014-09-17 23:53:25 +02:00
Skia
be6f55b772 Make the [] in pf work like an array (#1349) 2014-09-17 15:58:44 +02:00
Skia
f21748d465 Make the code cleaner and more readable in pf 2014-09-17 15:58:38 +02:00
pancake
90dad36646 Fix w32 build (oops dislexia) 2014-09-17 15:37:30 +02:00
defragger
51b6112925 fixes the w32 native debugging and error messages 2014-09-17 15:26:00 +02:00
pancake
ae06dc24b5 Fix file2 and file3 fuzzed ELF files 2014-09-17 11:01:36 +02:00
pancake
dec5580bf4 Fix some ELF OOB crashes (thanks @maijin for reporting) 2014-09-17 00:09:00 +02:00
Skia
951c07b03e Make pf* work and Fix #1349 in pf 2014-09-15 23:07:01 +02:00
pancake
058cae62f2 Set new separator for nested struct in pf 2014-09-15 22:56:31 +02:00
pancake
7e37fb0131 Fix #1292 - Fix file create and write on w32 2014-09-15 03:35:02 +02:00
pancake
8be98f3d82 Use () instead of [] for casting nested structs in pf 2014-09-15 00:36:49 +02:00
pancake
3dd52c3d22 Quote the 'w' command for better write strings from pf. Need string filtering 2014-09-13 12:01:36 +02:00
pancake
1882ea8e5a Fix #1320 - crash in pf 2014-09-13 00:36:50 +02:00
Skia
ff626df236 First implementation of pf*
Doesn't work for nested struct yet...
2014-09-09 22:20:18 +02:00
Skia
164ced622b Add more types to compute the struct size in pf 2014-09-09 22:20:18 +02:00
pancake
8f6ecaa659 Fix preload on Linux and OSX 2014-09-09 12:11:23 +02:00
pancake
7fde96ea63 Add some header structs for MACH0 and fix some for ELF (rabin2 -rk '' related) 2014-09-08 12:20:50 +02:00
Jody Frankowski
cacb38ae98 Fix and clean r_inflate 2014-09-08 00:04:27 +02:00
pancake
34f6c3d06b Fix pf? 2014-09-06 04:22:42 +02:00
pancake
30acdbf50c Refactor debruijn code and make it accessible from ragg2 -P 2014-09-05 16:03:40 +02:00
Jody Frankowski
f930a97adc Unify gzip and zip 2014-09-05 15:12:40 +02:00
Jody Frankowski
8e3d7e045d Add support for both zlib and gzip streams 2014-09-05 14:10:00 +02:00
Jeffrey Crowell
213c6f2567 Add De Bruijn cyclical patterns accessible thru woD and woO 2014-09-05 14:09:52 +02:00
pancake
e161a915dd Fix #1276 - Extend 'Vd' to support more types #1276 2014-09-03 10:26:41 +02:00
Anton Kochkov
759a6345d4 Fix OS detection 2014-09-01 18:58:09 +04:00
Anton Kochkov
46e127c73a Fix wrong type specifier in eprintf 2014-08-31 16:10:38 +04:00
jvoisin
f7d6be76bd Fix some Hyask coverity issues 2014-08-31 02:10:12 +02:00
pancake
d809200fa2 Fix more memleaks 2014-08-29 16:42:00 +02:00
pancake
425013c470 Add 'pc*' command to print curblock in 'wx;s' commands 2014-08-29 12:15:21 +02:00
pancake
4ea683ba34 Initial background thread for the webserver (=h& and =H&) 2014-08-28 12:08:46 +02:00
pancake
c6bc6f099d Rename l to T, add cfg.user and 'TT' chat prompt
* Add cfg.user variable
* Implement TT chat prompt
* Invoked from 'VT'
* Rename 'l' to 'T' command (log -> textlog)
* Add r_sys_whoami () -> set default username
* Add $$ trap instruction in ESIL
* Implement POP and STACK esil commands
2014-08-28 03:11:13 +02:00
pancake
cd893a18e4 Show linenum in 'prl' 2014-08-27 03:13:08 +02:00
jvoisin
51187dca08 Fix previous commit 2014-08-26 23:57:41 +02:00
Anton Kochkov
30628f33c1 Improve colorization/displaying performance 2014-08-27 01:52:00 +04:00
Skia
384dcb4f45 Add support for nested structs in pf 2014-08-26 16:45:25 +02:00
pancake
9c536de095 Initial implementation of 'prl' 2014-08-26 03:53:01 +02:00
jvoisin
44ac7ec2a4 Implement backward disasm for most commands and remove pdn 2014-08-24 03:21:06 +02:00
pancake
f27cbe34c2 Use memmove instead of memcpy to avoid overlap issues in RBuffer 2014-08-22 18:01:16 +02:00
jvoisin
524ac829fc Remove unused r_alloca_* 2014-08-18 02:36:08 +02:00
pancake
b717518f8f Fix some warnings 2014-08-15 02:04:20 +02:00
pancake
c37df6d142 Fix include path for zlib compilation 2014-08-10 18:31:18 +02:00
pancake
504f006d5d Fixes more gunzip support in r_util 2014-08-10 18:24:00 +02:00
pancake
3d66ed5378 Add r_file_gzslurp() to read GZIPped files easily 2014-08-10 18:13:12 +02:00
pancake
332f21971a Initial fix to support loading TinyELFs (wip) 2014-08-09 23:53:13 +02:00
pancake
9a55e866b0 Fix rabin2 -Z . Implement it for DEX too. 2014-08-07 01:00:04 +02:00
pancake
c1822449a2 Handle len<1 in r_str_ansi_filter 2014-08-07 00:29:16 +02:00
jvoisin
57ea0f76fb Fix a typo 2014-08-02 14:47:58 +02:00
jvoisin
ad51f30c23 Final refactoring for pf 2014-08-02 02:19:43 +02:00
jvoisin
b71e52c7b1 Refactor pf implementation 2014-08-01 19:33:52 +02:00
jvoisin
a8ec8805d8 More LISP-correctness 2014-08-01 17:57:50 +02:00
pancake
bebaba0a0b Fix CID 1229476 with Lisp 2014-08-01 11:46:08 +02:00
pancake
be94a4dee2 Fix all pf tests 2014-08-01 00:15:17 +02:00
jvoisin
975daf00f5 Coverifix 2014-07-30 22:26:13 +02:00
Skia
3804df5456 Improve 'pf' 2014-07-30 22:19:02 +02:00
pancake
84342ea223 Little split of the RLib logic 2014-07-30 11:14:30 +02:00
pancake
50e8e0e507 Add 'lp' command to 'load plugins' + some work on 'bin.laddr' 2014-07-30 11:14:26 +02:00
jvoisin
594debd9fc Fix a memleak 2014-07-28 18:12:18 +02:00
Skia
ebad863e02 Fix name align in 'pf' 2014-07-28 04:08:14 +04:00
Skia
6350fe766e Fix pointer display in 'pf' 2014-07-28 04:08:14 +04:00
jvoisin
6e662abd91 Fix some minor gcc warnings 2014-07-22 00:24:37 +02:00
pancake
6098a4ac92 Fix #1085 - Based on a patch from @codingfree 2014-07-21 20:08:54 +02:00
pancake
7e06e13b3b Fix #1133 - gdbr warnings, and some other 2014-07-21 18:19:31 +02:00
Skia
713606a90d Implement X in 'pf', and update the help 2014-07-17 10:31:02 +02:00
Skia
bbcddaf64a Implement [nb] for widechar in 'pf' 2014-07-17 10:31:02 +02:00
Skia
44430523c9 Remove trailing spaces in some 'pf' 2014-07-17 10:31:02 +02:00
Skia
b8f572c9ae Implement [nb] for pf 2014-07-17 10:31:02 +02:00
Skia
75b331d114 Add pf.obj.str=bar and fix some more 'pf' issues 2014-07-17 04:18:09 +02:00
pancake
f233933780 Fix r_str_crop 2014-07-09 15:16:20 +02:00
pancake
0f24b905f6 Initial implementation of VVV for ascii-art callgraphs 2014-07-09 05:05:22 +02:00
pancake
8b74f1ffcf Merge Rarun2 into RSocket and use it from dbg.profile in Core 2014-07-09 02:24:31 +02:00
LemonBoy
841a1ed5b6 Better string escaping. Fixes graph view 2014-07-02 18:26:03 +02:00
pancake
036873a9b7 Fix RBin flag strings issue and name filtering 2014-07-01 22:43:28 +02:00
LemonBoy
9208946109 Add support for UTF-8 and better WChar strings in RBin
- Better string recognition.
- Better wchar string detection
- UTF-8 helpers. Better string detection.
- Break on invalid sequences
- Fix the vaddr translation. Misc fixes
2014-06-30 16:39:24 +02:00
pancake
e321c0e62c Add RReg bufdiffing apis to retrieve list of modified regs 2014-06-26 12:18:45 +02:00
Anton Kochkov
a606139ac0 More fixes for cygwin builds 2014-06-25 20:06:14 +04:00
Anton Kochkov
bf088d43bd Fix libr_util building for Cygwin 32bit (gcc 4.7.3) 2014-06-25 18:17:34 +04:00
pancake
f67850fcb2 FIx w32 build 2014-06-25 04:19:23 +02:00
tosh
eb6b86dd4b Some fix in the ELF parser
New functions used to prevent integer overflow when add, sub or mul
Fix an out of bound in r_buf_fcpy_at
2014-06-23 15:34:51 +02:00
Jonathan Neuschäfer
c57c2c5c96 fix an out of bounds read in r_hex_str2bin 2014-06-21 01:39:20 +02:00
pancake
2408ce9a42 Fix segfault in esil for arm-thumb and colorize 'ar?' 2014-06-19 04:52:28 +02:00
pancake
5c209802a7 More work on arm-thumb-capstone + esil 2014-06-19 04:03:11 +02:00
pancake
7b9d13bbc3 Fix 'afc' (code complexity), fix nulltype xrefs and some helps 2014-06-19 01:11:53 +02:00
pancake
dfb9d11474 Initial implementation of the new ESIL. (RPNESIL)
Use the 's' key with static analysis to step
Anal backends must be updated to use the new syntax
Uses 'ar' to get/set regs, and anal->io for read/write mem
Some few commands implemented, no extend api yet
2014-06-16 05:58:00 +02:00
pancake
db05de4513 Add orange-gray theme (ogray). Move doc/r2theme to shlr/www/enyo/colors 2014-06-14 03:53:35 +02:00
pancake
8330ea59fc Fix stale pointer issue in RBinELF. Add r_mem_dup 2014-06-14 00:04:40 +02:00
pancake
b788deac00 Fix latest coverity issues
CID 1221463
CID 1221462
CID 1221461
2014-06-07 11:23:14 +02:00
pancake
06ec145106 Fix r_file_truncate 2014-06-06 01:10:43 +02:00
pancake
e06b6695e8 Fix r_file_slurp() for /proc files 2014-06-04 03:51:18 +02:00
condret
70744a1ad9 support ternary values in rax2 2014-05-28 21:50:13 +02:00
pancake
650c824171 Implement list color themes with 'ecf' command 2014-05-28 01:07:02 +02:00
pancake
2890b25e42 Fix w32 build 2014-05-19 10:54:29 +02:00
Anton Kochkov
efa1e2f68f Fix CID 1214579 2014-05-19 05:40:45 +04:00
Anton Kochkov
557c0b2f03 Fix CID 1214585, 1214586 2014-05-19 05:38:19 +04:00