Commit Graph

6002 Commits

Author SHA1 Message Date
pancake
da866539ee Fix 'oo' bug (sync rcorefile and riofile lists), Better 'ob' 2014-10-17 00:04:52 +02:00
pancake
907d17460f Close all non-tty fds for rarun2 before start 2014-10-16 11:24:17 +02:00
pancake
b192d39161 Fix #1526 - Implement 'dccu' (continue until unknown call) 2014-10-16 11:23:57 +02:00
pancake
0b322f5e99 Fix r2 -d ./ls 2014-10-16 10:45:33 +02:00
pancake
7c152282a8 Use latest Capstone (Fixes relative branch on PPC and SPARC) 2014-10-16 10:19:37 +02:00
pancake
8e381135e4 Add Shdr and struct sizes, fixes for ELF64 with r2 -nn
- Remove debug printfs in 't'ypes
2014-10-16 03:46:58 +02:00
pancake
25d2821696 Autodisable asm.flags when asm.flagsinbytes is set, fix esil for x86 call 2014-10-16 02:16:52 +02:00
pancake
859daf9a5b Add consonance and tango themes. Add asm.flaginbytes
* invalid instruction color is now configurable
* fixed SAR as unknown instruction issue
* Bring back dead code to render flags between the offset and opcode
* Fixes for the rasta and solarized themes
2014-10-16 01:51:48 +02:00
pancake
49e4abc2ca Add solarized theme 2014-10-15 23:35:51 +02:00
pancake
49cc0001c2 Fix #1519 - Jumps creating new functions 2014-10-15 16:10:55 +02:00
pancake
2ed4c7ad1a Attach IO to new pid with =!pid when doing dpa pid. Add program|library to 'ai' 2014-10-15 16:05:47 +02:00
pancake
0e0dc63aa8 Fix r2 -d problem not loading syms. Redo the ASLR/PIE again 2014-10-15 15:41:02 +02:00
pancake
1d390d4767 Do not asume 'unk' is heap 2014-10-15 12:44:24 +02:00
NighterMan
5e9788ca26 Added support for new search modes 2014-10-15 12:41:07 +02:00
Maijin
7b55e920f0 Update Enum/Bitfield Help 2014-10-15 02:53:20 +02:00
pancake
3e38ffe0db Add AddrInfo esil method for /E 2014-10-15 02:42:08 +02:00
pancake
42232354a7 Add 'ai' - address info, Enhace 'ad' (support patterns and sequences)
- ai shows: exec,read,write,flag,func,stack,heap,reg
- Add r_reg_regset_get()
- Implement r2.cmdj in r2.js
2014-10-15 02:24:22 +02:00
pancake
676ed9e861 Add 'afC' for calling convention changes in function definitions 2014-10-14 17:09:42 +02:00
Fedor Sakharov
0b9abbd87a Move arch headers from ./lib/include 2014-10-14 14:24:22 +02:00
pancake
8c625b2c27 Fill RAnalOp.mnemonic with RAsmOp.buf_asm in RCore.anal_op 2014-10-14 12:29:34 +02:00
pancake
c9754da05f Initial support for function declarations in Cparse (loaded into sdb) 2014-10-14 11:55:02 +02:00
Skia
8e7c4c67be Fix double bitfield and double enum in pf 2014-10-13 16:29:03 +02:00
NighterMan
08274d9f28 Added JSON output support for multiple search cmds
JSON output support has been added for the following cmds:
| / foo\x00              search for string 'foo\0'                         // Si
| /j foo\x00             search for string 'foo\0' (JSON output)           // Si
| /! ff                  search for first occurrence not matching          // Si
| /+ /bin/sh             construct the string with chunks                  // No
| /!x 00                 inverse hexa search (find first byte != 0x00)     // No
| //                     repeat last search                                // Si
| /a jmp eax             assemble opcode and search its bytes              // Si
| /b                     search backwards                                  // Si
| /B                     search recognized RBin headers                    // No
| /c jmp [esp]           search for asm code (see search.asmstr)           // Si
| /C[ae]                 search for crypto materials                       // No
| /d 101112              search for a deltified sequence of bytes          // Si
| /e /E.F/i              match regular expressions                         // Si
| /E esil-expr           offset matching given esil expressions %%= here   // No
| /i foo                 search for string 'foo' ignoring case             // Si
| /m magicfile           search for matching magic file (use blocksize)    // No
| /p patternsize         search for pattern of given size                  // No
| /P                     show offset of previous instruction               // Si
| /r sym.printf          analyze opcode reference an offset                // No
| /R [grepopcode]        search for matching ROP gadgets, comma-separated  // Si
| /v[1248] value         look for an `asm.bigendian` 32bit value           // Si
| /w foo                 search for wide string 'f\0o\0o\0'                // Si
| /wi foo                search for wide string ignoring case 'f\0o\0o\0'  // Si
| /x ff..33              search for hex string ignoring some nibbles       // Si
| /x ff0033              search for hex string                             // Si
| /x ff43 ffd0           search for hexpair with mask                      // Si
| /z min max             search for strings of given size                  // Si
2014-10-13 16:27:54 +02:00
NighterMan
82b0626fb0 Fix for crash when using regexp searches
Since commit baf3145598 buffers for
bin_keyword and bin_keymask at RSearchKeyword structure need to be
allocated dynamilly. The allocation was missing causing a crash.

Added check to avoid empty regexp filters
2014-10-13 16:26:52 +02:00
pancake
ec2be7a214 Fix 'dcc' 2014-10-13 14:52:33 +02:00
pancake
13e504fd60 Use more SDB into rsyscall module 2014-10-13 05:02:24 +02:00
LemonBoy
ce649947af Fix the w64 profile 2014-10-12 21:48:05 +02:00
Maijin
3173cbf223 Add syscall-x86-{32,64} for dcs #1025 2014-10-12 21:32:20 +02:00
jvoisin
92c14d4448 Enhance /R documentation 2014-10-12 17:51:48 +02:00
pancake
9201d86558 Fix crash in elf parser 2014-10-11 01:25:45 +02:00
pancake
044fa78877 Avoid nested interpreted repeats in oneliners 2014-10-11 01:21:17 +02:00
pancake
1d3429db37 Update breakpoint counter for ARM 2014-10-10 22:45:03 +02:00
jvoisin
265fe4724c Add a /Rl command, to show gadgets in a linear manner 2014-10-10 15:04:55 +02:00
condret
d8e98cf3a3 fix identation for bugfixing purposes 2014-10-10 10:56:15 +02:00
jvoisin
b4a56e3fbb Add some comments to ragg2-cc 2014-10-09 21:53:44 +02:00
pancake
d18481971e Fix infinite loop in analysis 2014-10-09 18:43:57 +02:00
pancake
5c07ff254f Fix 'dcs' 2014-10-09 18:31:55 +02:00
pancake
514b120a94 Fix a read-out-of-bounds bug in the java class parser 2014-10-09 14:05:31 +02:00
pancake
8a3b127fb4 Fix crash in Java class parser (thanks Joxean) 2014-10-09 13:56:27 +02:00
pancake
745f4018e8 Fix several DEX crashes found by Joxean's fuzzer 2014-10-09 13:47:57 +02:00
pancake
07605a0a42 Add MSDOS interrupt table and add x86-16bit reg profile 2014-10-09 10:02:18 +02:00
condret
d36331528c fix CID 1244222 2014-10-09 09:19:48 +02:00
pancake
0ad1e258d0 Fix #1495 - Infinite loop on 'wx' on read-only files 2014-10-09 01:47:03 +02:00
pancake
fb8336f7d0 Add dbg.{forks|clone|execs} ptrace options (linux-only atm) 2014-10-09 01:21:49 +02:00
condret
606704e3f3 some cleanup in r_core_file_free 2014-10-08 16:14:31 +02:00
condret
558da5977a remove unused code in anal_gb.c via #if 0 2014-10-08 15:55:22 +02:00
condret
65d8b20d05 RCoreFile-reduction: kill RCoreFile->rwx 2014-10-08 13:29:47 +02:00
pancake
9504a0ef6b Fix psb 2014-10-08 02:42:16 +02:00
pancake
88bbc4aa7b Remove noisy debug error messages 2014-10-08 02:14:53 +02:00
pancake
abd7bcda90 Hackaround for pie bins 2014-10-08 01:54:09 +02:00