Commit graph

869 commits

Author SHA1 Message Date
pancake
96af02492a Add doc/rap 2015-06-06 01:49:27 +02:00
Álvaro Felipe Melchor
78d5a78609 Fix COVS 2015-06-04 21:27:41 +02:00
jvoisin
7c096bb1f4 Fix various coverity issues 2015-06-01 21:10:37 +02:00
pancake
5a32e683c8 Catch null in r2pipe json 2015-05-15 14:45:08 +02:00
pancake
0d3e8dd50c Fix buffer overflow in io-r2pipe 2015-05-15 12:35:32 +02:00
pancake
345ecce576 Fix some covs for io-r2pipe 2015-05-15 12:04:22 +02:00
pancake
967067ea9c Refactor r2pipe API into r_socket and fix w32 build 2015-05-14 02:50:57 +02:00
pancake
c9d10560b9 Initial import of the r2pipe-io plugin 2015-05-13 12:39:51 +02:00
condret
fcf4a5f081 fix #2443 2015-04-29 18:36:36 +02:00
Anton Kochkov
7e79b198b1 Fix some more Coverity issues
Fix CID 1171365
Fix CID 1211169
Fix CID 1230038
Fix CID 1295063, 1295062, 1295061
Fix CID 1295070
Fix CID 1295068
Fix CID 12950067
2015-04-19 04:53:08 +03:00
pancake
122ae7ea08 Fix oo use-after-free 2015-04-17 18:26:49 +02:00
pancake
6ff92a2b1d Fix afa- and o--;r- 2015-04-16 17:57:36 +02:00
pancake
997dda6e5b Add support for iOS-simulator and static-OSX builds 2015-04-14 17:14:43 +02:00
jvoisin
882a43994c Two simple coverifix 2015-04-11 21:07:12 +02:00
pancake
882a0ee164 Add --without-fork and r_sys_fork() 2015-04-11 05:00:05 +02:00
pancake
b4bbb2220c Fix visual regression and add dummy dalvik regprofile 2015-04-11 04:45:09 +02:00
condret
d619c9efc6 fix #2339 2015-04-10 13:12:05 +02:00
Jeffrey Crowell
6b2879c206 fix broken build
the last commit must have been 2 juicy for everyone
2015-04-02 21:59:11 -04:00
pancake
0e91eaaeda Fix some of the crashes produced by #2220 2015-04-01 16:07:23 +02:00
pancake
1a73f5e807 Handle <directory> in r2 as an alias for cd /path;r2 --
Remove noisy eprintf and fix another crash
2015-03-23 00:41:50 +01:00
pancake
ebbe450f38 Fix r2 -c 'o-*;s++' - use-after-free and other from #2220 2015-03-23 00:32:31 +01:00
pancake
ef6c71208d Fix tons of input crashes reported in #2220 2015-03-22 23:24:13 +01:00
pancake
b14bfc0be2 Fix #2185 - r2 -d shm://123 crash 2015-03-22 22:41:46 +01:00
pancake
515b2e77bc Fix about 40 COVs related to memleaks and buffer overflows 2015-03-21 01:27:54 +01:00
condret
55798119c7 fix #2206 2015-03-19 01:39:24 +01:00
fenugrec
752435bf1b io_ihex: Fixed >64k blocks parsing 2015-03-18 22:10:55 +01:00
fenugrec
0a515ae217 io_ihex: removed debugging output 2015-03-18 22:10:55 +01:00
fenugrec
a9b01e8410 io_ihex : read() and write() work, but write() always re-generates the file 2015-03-18 22:10:55 +01:00
fenugrec
cafcf4b0ab WIP: ihex:// plugin rework for sparse buffers & extended records 2015-03-18 22:10:54 +01:00
pancake
103ab99dc9 Fix some null derefs on io.write when no files opened
- Add missing wB in w?
- Make sys/duktape.sh happy for OSX
2015-03-17 20:27:59 +01:00
pancake
ce797309f5 Aim to fix #2185 2015-03-16 03:11:39 +01:00
pancake
595db83d93 Add RBufferSparse API and sparse:// io plugin 2015-03-16 01:19:25 +01:00
condret
c5bf697f03 fix a very evil bug that broke vio 2015-03-14 14:36:23 +01:00
condret
6a4edf5398 don't close all maps when closing 1 fd, add r_io_open_at to RIOBind for esil-init 2015-03-12 20:51:07 +01:00
Clément Vuchener
705e4d56bf Fixing arguments (bugs #1814 and #2117) #2143
Added proper escaping of command line
Creating a command line from arguments when debugging on Windows
Keep backslashes when not escaping a character
Assuming that the path of the binary should be in desc->name and not the command line in ptrace IO plugin
Print the backslash when it is at the end of the command line
2015-02-26 03:05:37 +01:00
condret
baae9b98d3 fix #2084 2015-02-24 14:45:52 +01:00
Kamil Rytarowski
345403f0ea Honor zip configure linkage 2015-02-23 01:07:05 +01:00
pancake
66ead9b96b Add ate command for the anal trace logs with ESIL (and backstepping)
- r2 -e dbg.trace=true -e anal.trace=true -d ls
> 10ds  # perform 10 steps
> ate   # show anal trace logs
> .ate `atek idx` # backstepping
> ate-* # clear logs
2015-02-22 11:40:55 +01:00
pancake
d21367f2ef Implement prg command to print raw gunzipped contents of block 2015-02-20 01:16:17 +01:00
jvoisin
defd2d0e96 Coverifix 2015-02-18 13:05:37 +01:00
pancake
4f24447620 Fix chrdev read and write support for OSX and iOS 2015-02-17 00:46:18 +01:00
pancake
ae367b65be Add support for UNIX Character devices 2015-02-16 22:40:05 +01:00
condret
6ae594b426 fix #2064 2015-02-12 22:48:11 +01:00
condret
ffd082fd5c fix a tiny io.cache-bug 2015-02-12 20:41:08 +01:00
jvoisin
b8cdd7c0f7 Even more coverifix 2015-02-11 21:51:13 +01:00
jvoisin
5ad3afb628 Coverifix 2015-02-11 17:55:25 +01:00
pancake
345f3be74e Fix possible null deref in r_io_read CID 1269284
- Remove unused r_yara.h
2015-02-11 11:25:23 +01:00
condret
0a7b7ed91e remove io.va=2 for vio to fix analysis for vio 2015-02-10 14:07:12 +01:00
condret
b93d08ebb7 enable switching to vio at runtime 2015-02-09 23:17:05 +01:00
pancake
f2351636fe Fix r_cons_readline() signature and some code cleanup 2015-01-31 00:50:05 +01:00
pancake
aa1fa2bc62 Fix some COVs 2015-01-29 12:16:37 +01:00
skuater
1ad95fd468 Implement PipeIO for WinDBG on Windows 2015-01-29 01:49:53 +01:00
pancake
039858fd86 Fix r2 -B, rabin2 -B, Implement oa command
- Now it is possible to load binfiles from debugger memory
* Base address is now honored properly. But it needs more testing
2015-01-29 01:45:39 +01:00
pancake
570f62421f Remove io/haret plugins (moved to r2e) 2015-01-27 18:35:48 +01:00
pancake
fb970bebb9 Honor LDFLAGS in more places (Thanks Gentoo guys for noticing)
https://bugs.gentoo.org/show_bug.cgi?id=391751
2015-01-27 17:46:56 +01:00
pancake
6de4e32000 Implement 'o=' command like 'S=' 2015-01-27 15:35:42 +01:00
pancake
d08015cf66 Add f--, fs-*, o--, enhace Po a lot
- Handle all internal information deinitialization in:
  - flags, io, core, bin, anal
- Fix w32 build
2015-01-22 02:22:29 +01:00
pancake
173761085d Fix #1959 - io.write with double baddr substraction issue 2015-01-17 02:57:19 +01:00
pancake
6f2f293a92 Enhace x86.cs esil analysis 2015-01-15 01:53:36 +01:00
pancake
be4ce06527 Fix io.windbg warning 2015-01-13 03:21:28 +01:00
jvoisin
e3dbefc898 Fix some stupid warnings in md5-related code
"PROTOTYPES should be set to one if and only if the compiler
supports function argument prototyping. [...]".

Hello time-traveller, welcome to the previous century. I heard
that in your modern times, compilers are supporting
_function arguments prototypiing_, is that true?
2015-01-13 02:51:45 +01:00
pancake
75c322b613 Add bin.lang, rabin2 -D and iD commands to demangle from commandline
- Fix some warnings in windbg
- Minor fix for ARM analysis (wip)
2015-01-10 01:00:01 +01:00
pancake
826477db9a Update capstone and transplant io.ewf to the r2e repo 2015-01-09 16:21:47 +01:00
pancake
43b4a996ce Fix shm crash and update sdb 2014-12-22 03:24:36 +01:00
pancake
045a1ee387 Disable self:// in sandbox mode 2014-12-22 01:11:16 +01:00
pancake
8cd32e82fa bring back the non-rarun2 spawn for io-debug testing 2014-12-09 12:06:00 +01:00
pancake
8bdea8eea3 Fix several build issues to make crosscompilation and w32 happy 2014-12-07 20:05:24 +01:00
pancake
9fa79fbf0c Fix build 2014-12-07 19:37:03 +01:00
LemonBoy
3b9164c04c Initial WinDBG support 2014-12-07 19:32:45 +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
pancake
a984b05720 Fix underflow in RIO and clean some null derefs in RBin 2014-12-04 13:02:11 +01:00
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
pancake
bb4dadc0a9 Honor R_IO_WRITE open flag 2014-06-20 17:02:57 +02:00
pancake
3f7e1935fa Fix io.cache oob read bug? 2014-06-16 01:17:45 +02:00
condret
129646d925 Refactor the new io-read-api (disabled by default) 2014-06-14 00:07:16 +02:00
condret
6b1efd8ecd Add R_ERROR and fix RIOSection.get_{first,in}_{vaddr,paddr}{_range} 2014-06-11 17:42:42 +02:00
pancake
b5ae986524 Fix #1004 - x86 "sete" not supported #1004 2014-06-10 16:24:01 +02:00
pancake
7cc14b429c Add missing check in malloc return value 2014-06-10 11:50:11 +02:00
pancake
6aba134a7e Finish s/io.ffio/io.ff/ 2014-06-10 11:20:17 +02:00
Anton Kochkov
8b911cb0f0 Fix CID 1134728 2014-06-07 14:37:29 +04:00
pancake
298f2558ca oops 2014-06-06 22:54:30 +02:00
pancake
4c1ef71e46 Fix -w with io.va 2014-06-06 22:37:18 +02:00
pancake
939fd989a9 Fix r2 -w <nonexistentfile> 2014-06-06 22:34:03 +02:00
jvoisin
3affd8ecb2 Fix two gcc warnings 2014-06-06 13:22:52 +02:00
pancake
1de37f419a Fix cmd_pD tests by handling addressing overflows 2014-06-05 03:29:11 +02:00
pancake
39675d0886 Fix static linking (android builds working again) 2014-06-05 01:50:56 +02:00
pancake
26be34439a Fix r_io_mach_read for partial reads on segment limits 2014-06-05 01:32:05 +02:00
pancake
00d283a398 Fix all latest coverity issues 2014-06-04 23:57:24 +02:00
pancake
cc324e743a Fix some warnings 2014-06-04 22:33:56 +02:00
pancake
eabf76cb1e Enable io->autofd by default and set if no curfd is set 2014-06-03 17:10:38 +02:00
condret
0f9495400d add io->autofd 2014-06-03 17:06:56 +02:00
condret
b75ea56f6c make r_io_desc_seek more reasonable in usage 2014-06-02 15:31:06 +02:00
condret
eafafa574e try to fix r_io_desc_seek 2014-06-02 00:54:32 +02:00
pancake
ba57864617 Rollback to use the old io api. 2014-05-31 12:14:49 +02:00
pancake
c225694c7c Fix build and several coverity issues 2014-05-29 15:27:18 +02:00
pancake
8d663ceb94 Some rework on RBin.baddr and laddr to make it work again
Not all fileformats return correct data in Sections, this is
why sometimes the relocation with baddr (needed for aslr) fails
on mach0 for example. This code needs to be redesigned and fixed.
2014-05-29 00:49:28 +02:00
pancake
dd67819923 Fix ioff, merge RCore.ffio into and add a workaround for baddr 2014-05-28 19:32:29 +02:00
pancake
65d64d5274 Honor io.raw in new io. All debuggers fail in the same way
Temporal fix is to use `-nd` or `-nD`
2014-05-28 04:40:22 +02:00
pancake
5e33a8a282 Initial huge refactoring of r_io still work in progress 2014-05-28 04:34:12 +02:00
pancake
bb16d1737c Add initial XCore capstone disassembler and code analysis plugins 2014-05-27 23:08:59 +02:00
jvoisin
daae56f17f Fix CID 1205222 2014-05-27 16:41:20 +02:00
pancake
894238ca89 Fix io/ptrace plugin on Linux 2014-05-26 11:33:39 +02:00
pancake
65fd1e4d5a Almost fix the io/ff and partial reads issue 2014-05-26 03:52:46 +02:00
pancake
576c9d6221 Fix ASLR (rabin2, r2 -B working again), sort i? output 2014-05-26 03:06:29 +02:00
pancake
7751882675 Add io.raw which is set when debugger mode is enabled 2014-05-25 02:23:33 +02:00
deeso
d15b599179 Reverting the changed io until "raw" access to r2 dataspaces is realized 2014-05-24 10:47:58 -05:00
jvoisin
5f34c17f8d Fix CID 1215264 2014-05-22 15:28:54 +02:00
jvoisin
533bd261bb Fix CID 1215265 2014-05-22 14:52:51 +02:00
deeso
ccc3794eeb Fixed the 0xff io bug 2014-05-22 02:17:09 -05:00
deeso
6d21408a31 Changing the listing of the Section Id to the position in the RIO Sections List 2014-05-21 14:01:21 -05:00
deeso
a702c82ac8 Enhance performance with reduced mallocs at load time 2014-05-21 13:02:02 -05:00
pancake
821cd215d6 Fixed io_default/write crash and malfunction 2014-05-21 04:36:53 +02:00
pancake
796dedf83c Fix close(0) issue in rio 2014-05-21 01:46:01 +02:00
jvoisin
956eba4a8e Fix CID 1135064 2014-05-19 23:47:13 +02:00
Anton Kochkov
9c7b579c46 Fix a typo 2014-05-19 09:06:38 +04:00
Anton Kochkov
eb2f9529cd Fix CID 1214584 2014-05-19 05:31:07 +04:00
Anton Kochkov
c7a101d7e2 Fix CID 1214580 2014-05-19 05:28:12 +04:00
pancake
fd3251d99c Refix 'r' command issues 2014-05-19 02:52:51 +02:00
pancake
b7eaf03813 Workaround for the famous io/ff, this is not a final fix 2014-05-18 02:37:34 +02:00
pancake
2494e22a4d Add rawio support in RIO (allows to open /dev/sda f.ex), Add io.enforce=0|1|2|3 2014-05-18 02:19:11 +02:00
pancake
ea0c2caa59 Add sys/ios-sdk build scripts 2014-05-17 04:41:33 +02:00
pancake
c6a73d3074 Fix loading sections from fatmach0 bins 2014-05-16 03:48:57 +02:00
deeso
1fbc7f2168 Added load_bytes, Pushed curplugin down to RBinObj, Reworking the RBinFIle loading to accomodate RBinObj reworked how all bins are loaded. Needed to hack IO to make
this work with rbinfiles and rbinobjects.

Conflicts:
	libr/bin/bin.c
	libr/bin/p/bin_te.c
2014-05-13 21:54:18 -05:00
jvoisin
818a907bf4 Fix CID 1135070 and some GCC warnings 2014-05-11 13:41:21 +02:00
jvoisin
f664e91c1b Fix CID 1135045 and some GCC warnings 2014-05-11 13:34:55 +02:00
jvoisin
e0024940ca Fix CID 1134851 2014-05-11 13:31:59 +02:00
jvoisin
4fbebae5f6 Fix CID 1134511 2014-05-11 13:28:39 +02:00
jvoisin
914a0411ca Fix CID 1134506 2014-05-11 13:27:26 +02:00
jvoisin
76fbd4119c Fix some gcc warnings 2014-05-08 23:20:42 +02:00
pancake
773b033620 Fix negative/huge mallocs in PE parser and fix invalid fd close 2014-05-08 01:32:06 +02:00
Anton Kochkov
53d58db5bb Fix CID 1211145 2014-05-06 01:23:06 +04:00
jvoisin
3fbd1645d7 Fix CID 1211149 2014-05-05 17:44:08 +02:00
jvoisin
bdb2a4b568 Fix CID 1211150 2014-05-05 17:40:55 +02:00
Anton Kochkov
f762584982 Fix CID 1134991 2014-05-04 18:30:17 +04:00
Anton Kochkov
2d03b0a6f6 Fix CID 1134867 2014-05-03 04:29:10 +04:00
Anton Kochkov
14fb1b2b6a Fix CID 1134850 2014-05-03 04:29:10 +04:00
Anton Kochkov
b91a555475 Fix CID 1134812 2014-05-03 03:40:04 +04:00
deeso
14354feb61 fixed MMap Read-Write issue in io plugins and RBuf 2014-05-02 16:43:47 -05:00
deeso
3adcb54f17 Overhauled how files are loaded. Now *all* files use an IO plugin the default one is mmap'ed 2014-05-01 20:13:57 -05:00
jvoisin
7be0331d6d Fix CID 1134512 2014-04-30 01:37:27 +02:00
Anton Kochkov
7b3db8b1b1 Fix CID 1171364 2014-04-30 02:38:04 +04:00
Anton Kochkov
f78e258b52 Fix CID 1181834 2014-04-30 02:30:08 +04:00
Anton Kochkov
47e5524be1 Fix CID 1191355 2014-04-30 02:19:55 +04:00
Anton Kochkov
b483d9189c Fix CID 1135070 2014-04-28 22:40:22 +04:00
pancake
b49195f2df Fix lot of warnings 2014-04-28 11:53:22 +02:00
Anton Kochkov
afedcc0074 Fix CID 1135011, 1195065, 1134730, 1134754, 1134907, 1134758 2014-04-27 01:06:13 +02:00
Anton Kochkov
c635b5fff1 Fix CID 1134736 2014-04-26 04:02:29 +04:00
Anton Kochkov
51736bd435 Fix CID 1134485, 1134486 2014-04-26 01:53:23 +04:00
pancake
91e4f7659b Fix heap overflow in io/cache.c (Thanks @nixerr) 2014-04-25 03:03:17 +02:00
deeso
d5908941fb Steps toward fixing the reopen of a file being debugged 2014-04-24 18:21:40 -05:00
deeso
c6a7faad77 fixed the bug with the insane fuzz command 2014-04-22 23:06:00 -05:00