Commit Graph

648 Commits

Author SHA1 Message Date
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