Commit Graph

648 Commits

Author SHA1 Message Date
pancake
54d72a0e40 Fix #1502 - Add io.sectonly
We may probably want to merge this feature into different io.va modes
2014-11-24 00:41:20 +01:00
pancake
bcf7d46e36 Fix #1726 - ESIL brainfuck is back (and fix io.maps test case) - Thanks @trndr 2014-11-23 22:44:38 +01:00
pancake
162e6957f9 Fix uninitialized variable for io_self 2014-11-23 10:58:05 +01:00
pancake
79a6c83cff Fix Mac Build With Cheese 2014-11-22 11:50:51 +01:00
pancake
153b8b1f9d Add 'rmd' target, enhace io_self and add library version to libr2.so 2014-11-22 02:51:35 +01:00
pancake
9a0d62da22 Finally remove the void*debug pointer from RIOPlugin (use bool isdbg) 2014-11-21 11:36:51 +01:00
pancake
8ece70cda3 Fix 'bad C' in ioplug->debug 2014-11-21 11:20:32 +01:00
pancake
eca37da607 oops 2014-11-19 11:49:37 +01:00
pancake
c90179a0cc More asm.comments honored 2014-11-18 23:53:27 +01:00
Julien Nabet
e20728ec15 cppcheck: fix 1 'else if' cond matches previous cond + test indice before using it 2014-11-16 18:13:06 +01:00
jvoisin
acd93d1b37 Fix some cppcheck warnings 2014-11-15 21:48:13 +01:00
skuater
e192051aa7 debug improves 2014-11-08 00:25:17 +01:00
pancake
7cc34c4387 Fix use-after-free in RCoreFile/RIO 2014-11-07 10:37:54 +01:00
pancake
b736119a4a Colorize S=, Add anal.gp and better op.refs for mips and x86
- Add anal.gp to make mips.cs code analysis happy
- S= honors scr.color
- Fixed x86(capstone,udis) memrefs for mov/cmp
2014-11-07 03:48:27 +01:00
pancake
f6bb048a37 Fix S= asterisk mark 2014-11-06 23:06:51 +01:00
pancake
2aae2ad42b Remove unnecessary workaround sleep for Darwin debugging 2014-11-06 12:02:31 +01:00
pancake
8c43eddaa2 Honor io.va and scr.width in S= 2014-11-06 03:02:38 +01:00
pancake
5437ecd0bc Refix last r2 -d regression. Needs more testing 2014-11-04 14:38:09 +01:00
pancake
1eccc191e0 Fix the r2 -d oo issue with more referer fields 2014-11-04 10:30:28 +01:00
pancake
4790375679 Random enhacements for RHex apis and relocs 2014-11-04 02:16:40 +01:00
pancake
dcfb90ae94 Wip Fix r2 -d oo (workaround, because it's a race condition in fork+pid2path) 2014-11-03 11:47:51 +01:00
pancake
3c6ae9ed33 Add r_io->referer 2014-11-03 10:47:02 +01:00
condret
197b29f118 tiny improvements for r_io_desc_list 2014-10-26 22:37:06 +01:00
pancake
a2c3647ad0 Somewhat better BoostJam support 2014-10-26 02:47:08 +02:00
condret
532d3c6a63 make r_io_mwrite check map->flags 2014-10-23 13:17:52 +02:00
condret
f6e5b2b35f make r_io_map_list show rwx-info 2014-10-23 13:01:14 +02:00
condret
9de1bb9737 set RIOMap->flags on r_io_reopen 2014-10-22 20:25:47 +02:00
condret
c8c276f2cd add r_io_map_list 2014-10-22 11:04:37 +02:00
condret
43e8d3ab0e add r_io_reopen 2014-10-20 13:34:04 +02:00
pancake
b3526455b5 Identify the two ptrace issues and fix them all 2014-10-19 18:28:42 +02:00
pancake
c7a4f3ce14 Refix ptrace-write problem 2014-10-19 11:53:07 +02:00
condret
71a0e34954 some prework for r_io_reopen 2014-10-18 01:10:24 +02:00
condret
051de62f9e add r_io_desc_list (possibly useful for bughunting) 2014-10-17 18:31:59 +02:00
condret
32dbb24325 remove a pointless memset in r_io_desc_free 2014-10-17 13:09:28 +02:00
pancake
1c583a4b39 Added 'oob', 'oon' and 'oo?'. Close RBinObjects with RCoreFiles 2014-10-17 00:36:00 +02:00
pancake
da866539ee Fix 'oo' bug (sync rcorefile and riofile lists), Better 'ob' 2014-10-17 00:04:52 +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
0ad1e258d0 Fix #1495 - Infinite loop on 'wx' on read-only files 2014-10-09 01:47:03 +02:00
condret
348b494e8c correct RIODesc->flags for w32dbg and mach 2014-10-08 02:02:16 +02:00
condret
d0361badb6 correct RIODesc->flags on ptrace 2014-10-08 01:13:38 +02:00
pancake
e3df2bf29e Show if two maps overlap 2014-10-07 03:07:45 +02:00
pancake
67acee60f9 Better 'wc' command and cache/history capabilities 2014-10-07 02:52:47 +02:00
pancake
2642b03076 Handle r2 -C ../V to start in visual. Fix file.loadmethod=append 2014-10-07 01:58:42 +02:00
pancake
664ae46dc5 Should fix #1457 - ELF rpath oob read 2014-10-01 19:59:50 +02:00
condret
ab4a5c9632 deprecate RCoreFile->uri 2014-09-25 18:18:07 +02:00
pancake
196cfd0534 Initial major cleanup of the RAnal module 2014-09-22 01:39:24 +02:00
condret
ca73e908e7 replace the "R_TRUE >" foo with "R_TRUE !=" foo and fix #1388 2014-09-20 19:31:52 +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
condret
f6141a64a8 fix 2 gcc Wunused warnings in vio 2014-09-19 23:59:06 +02:00
condret
7ff2652577 more io cleanup 2014-09-18 22:57:31 +02:00
condret
977c3834a2 add r_io_is_valid_offset and r_core_is_valid_offset 2014-09-18 21:28:02 +02:00
Jonathan Neuschäfer
a29b8cdf33 vio.c: add a missing "int" to r_io_pwrite's declaration 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
LemonBoy
707089c3a9 Fix various debugger operations. Fix a ptrace-related bug. 2014-09-17 17:57:08 +02:00
condret
f4a1b0a3bd fix #1366 and make r_io_close keeping the current desc if it does not get close 2014-09-16 23:12:37 +02:00
pancake
7e37fb0131 Fix #1292 - Fix file create and write on w32 2014-09-15 03:35:02 +02:00
pancake
0f3344e284 Fix r2 -d -c oo ^D issue 2014-09-15 00:32:49 +02:00
pancake
7029eab6af Enforce register arena, better fit size. Fix native mips reg profile size 2014-09-14 02:52:30 +02:00
pancake
51af2d508f Disable proc/pid/mem coz this bug: while : ; r2 -qc 'oo;px' -d ls ; done 2014-09-13 03:57:12 +02:00
condret
9ea7df3b67 implement r_io_mwrite // yum yum copy-pasta 2014-09-11 18:35:09 +02:00
pancake
72491110a5 Use perror() when ptrace-me fails 2014-09-08 01:18:57 +02:00
pancake
4c5cb65147 Fix $ r2 -w /bin/ls 2014-09-07 23:57:26 +02:00
pancake
6d06508da1 Fix io-ptrace-write on linux-64 2014-09-07 12:14:57 +02:00
condret
7ce6922491 rename r_io_open -> r_io_open_nomap and add a new r_io_open that creates a map at 0x0 2014-09-06 23:08:16 +02:00
condret
e6aaeca4a5 fix 3 possible memleaks if io->redirect 2014-09-06 00:32:00 +02:00
condret
4ebeeff986 add r_io_open_at 2014-09-05 16:53:51 +02:00
Jody Frankowski
f930a97adc Unify gzip and zip 2014-09-05 15:12:40 +02:00
pancake
30ca7913c6 Initial import of the io.gzip plugin 2014-09-05 14:47:35 +02:00
condret
1633901796 fix a possible vio/list-order bug 2014-09-05 11:34:20 +02:00
condret
aa318b4216 extend the io api and fix a bug in vio 2014-09-04 15:49:34 +02:00
condret
aa3aaa5ab4 prevent a possible double-free 2014-09-04 11:44:38 +02:00
condret
63718ae9c6 implement r_io_pwrite and vio debug define 2014-09-04 00:41:07 +02:00
condret
6a6af44a4e fix aa on #define USE_NEW_IO 1 2014-09-03 20:02:41 +02:00
pancake
e161a915dd Fix #1276 - Extend 'Vd' to support more types #1276 2014-09-03 10:26:41 +02:00
condret
db0b379de7 fix ghost-ref if vio is used 2014-09-03 01:29:10 +02:00
pancake
56f9ac577e Fix ASLR for linux debugger. Load rbin info from different base address 2014-08-25 04:22:22 +02:00
pancake
3cfeec1d4e Fix r2 -B .. sets bin.laddr and honors va=2 2014-08-25 03:45:11 +02:00
pancake
6fc1b15080 Fix r_socket_http_answer() 2014-08-22 18:01:34 +02:00
jvoisin
d11aba0b0f Fix some minor coverity issues 2014-08-04 19:25:23 +02:00
pancake
0b469adc3a Fix CID 1220144 2014-08-01 11:53:29 +02:00
defragger
c63e1ac5ae fixes the bug about writing with vala i explained pancake, hopefully it fixes also issue: #1138 2014-07-30 22:24:26 +02:00
jvoisin
494d82d4b0 Fix some coverity issues and a XXX 2014-07-28 17:56:44 +02:00
defragger
dde49da67c Adds the use of r_socket implementation 2014-07-17 09:45:00 +02:00
LemonBoy
d60d0d8805 Fix #1114 2014-07-11 23:05:11 +02:00
pancake
be34dbf9cd Honor dbg.profile in io/debug
$ cat p.r2
 arg1=/
 $ r2 -e dbg.profile=p.r2 -d ls
2014-07-09 03:48:47 +02:00
pancake
dc4a8f440b Enable r_run in debugger 2014-07-09 03:31:04 +02:00
pancake
667ebad3eb Fix build 2014-07-09 03:12:39 +02:00
pancake
8b74f1ffcf Merge Rarun2 into RSocket and use it from dbg.profile in Core 2014-07-09 02:24:31 +02:00
pancake
9efb41594b Initial WIP support for ASLR var in rarun2 profiles and io/debug 2014-07-08 13:40:33 +02:00
pancake
88687d9da4 Check return value of fstat 2014-07-03 09:46:12 +02:00
pancake
d328957768 Update sdb to fix '***' and add r_asm_get_plugins 2014-07-03 00:03:01 +02:00
pancake
3bf30c8baf Fix build on w32 2014-07-01 14:42:50 +02:00
pancake
151d56869e Workaround blkdevice size on XNU 2014-07-01 14:37:53 +02:00
pancake
6863da3df3 Ignore sections at vaddr=0 (fixes some crappy elfs) 2014-06-27 03:10:09 +02:00
pancake
42617b6cef Colorize S? and shrink sz/vsz from %08 to %04 2014-06-27 01:43:04 +02:00
Jonathan Neuschäfer
40c5eb0177 fix an out-of-bounds read in __resize/r_io_resize 2014-06-25 11:45:09 +02:00
pancake
377b5bb2fe Clean a huge list of warnings 2014-06-25 02:07:38 +02:00