Christiane Ruetten
53b0918b59
Fixing buffer size
...
`r_hex_str2bin` turns every two input nibbles into a single output
byte and thus writes maximum half the input size. However, there's
the special case where it writes one additional output byte when
presented with an odd number of nibbles. Even though this results
in an error (negative of the number of bytes written), we must
ensure that at least one byte more is allocated for its output
buffer.
2016-04-07 16:05:16 +02:00
Christiane Ruetten
3253e1c625
Extending wo*
commands to use clipboard
...
When the [val] argument to wo* subcommands is omitted, clipboard
content is used instead. This allows, for example, to easily XOR
two memory blocks.
2016-04-07 16:05:16 +02:00
Christiane Ruetten
d82bf6a781
Revert "Adding wo*y
commands using clipboard instead of [val]"
...
This reverts commit e6ba84cdd8
.
It was merged before the review was finished.
2016-04-07 16:05:16 +02:00
Christiane Ruetten
e6ba84cdd8
Adding wo*y
commands using clipboard instead of [val]
2016-04-07 11:19:32 +02:00
Álvaro Felipe Melchor
b0c6ae4409
Fix #4295 and #4155
...
This commit is the first attempt to improve relocation
recognition when dealing with relocatables elf-files
2016-04-04 23:09:58 +02:00
deffi420
e7fdedd501
Improve r_hex_str2bin, fix overflow and error check
2016-01-23 11:53:43 +01:00
Álvaro Felipe Melchor
d9e77ca0d1
xnu: first series of patches to use mach exceptions
...
* use set_trace_bit and clear_trace_bit macros
* use PT_ATTACHEXC since PT_ATTACH will be deprecated in the future
and we are interested in receiving mach exceptions
* first attempt to handle mach exceptions
* api change: added a parameter to r_core_setup_debugger
at least in OS X this function was producing double attachment.
I've added a boolean value to indicate when use dpa.
* added pipe to communicate between main process and traced process
by far this is not a good implementation. We should develop a better
approach/design to save all the exceptions and handle them accordingly.
This is the initial implementation
* bring back ptrace for stability and in order to merge this into master
2016-01-18 22:24:16 +01:00
pancake
42acaa7596
Softly kill boolt type
2016-01-03 02:05:26 +01:00
pancake
4b7328f942
Fix #3695 - Proper /R disasm colors
2015-11-19 12:11:36 +01:00
pancake
40ab1e2be6
Fix #3701 - Implement r_num_tail for dcu
2015-11-17 22:38:01 +01:00
Álvaro Felipe Melchor
8d9af55342
Fix #3628
2015-11-09 15:30:13 +01:00
pancake
5c99eb0c3f
Uppercase register aliases
2015-10-31 01:59:01 +01:00
pancake
b515a34676
More stdboolification
2015-09-14 12:35:38 +02:00
pancake
c52f765046
Supoprt wordsize in woe
and ARM Thumb in wao
2015-09-07 23:36:57 +02:00
pancake
93a4bcbb56
Fix resource leak in core/io/dump
2015-08-19 10:37:02 +02:00
pancake
869ab6000e
Enhancement for wt
dumper
2015-08-19 01:58:27 +02:00
Álvaro Felipe Melchor
909b8e5414
Fix #2909
2015-07-13 23:26:28 +02:00
Álvaro Felipe Melchor
76c5cc9c54
Fix #2910 - two oob read with the command wo2
2015-07-13 23:26:28 +02:00
pancake
c334632809
Add anal.noncode to avoid analyzing data by default
...
Fix double-free in core/anal.c
2015-07-05 01:44:45 +02:00
pancake
8eaf7d0c56
Fix #2843 - s.<invalid hexnumber
wrong address
2015-06-28 10:01:28 +02:00
pancake
87162dc8bf
Add wta
support for appending dump.
2015-04-03 04:11:26 +02:00
pancake
3f16c42bf7
Fix segfault in core/io and update capstone
2014-11-01 22:23:11 +01:00
condret
efafe0b0fd
fix #1597
2014-11-01 19:17:07 +01:00
pancake
da866539ee
Fix 'oo' bug (sync rcorefile and riofile lists), Better 'ob'
2014-10-17 00:04:52 +02:00
condret
4f70c1bf89
kill RCoreFile->size
2014-09-30 15:31:19 +02:00
condret
977c3834a2
add r_io_is_valid_offset and r_core_is_valid_offset
2014-09-18 21:28:02 +02:00
condret
c79bd47335
deprecate r_core_sync_view_by_file
2014-09-18 18:27:58 +02:00
condret
11692a7a62
deprecate r_core_sync_view_by_fd
2014-09-18 18:27:38 +02:00
condret
452669d941
more cleanup in r_core_block_read
2014-09-17 23:32:59 +02:00
condret
33748aa172
tiny cleanup in r_core_block_read // I'm not finished here
2014-09-17 15:13:18 +02:00
condret
57f3f07ce1
oups; clean up the removal of weird-shit in r_core_read_at
2014-09-15 14:37:51 +02:00
condret
a5772fe3ea
remove some weird-shit-wrapper-code in r_core_read_at
2014-09-15 13:50:42 +02:00
condret
455f8fdfc8
2 performance improvements // don't use r_io_use_fd if you can use r_io_use_desc
2014-09-09 16:06:28 +02:00
pancake
fe8b4db8c6
Add dbg.status to display drd and pi on prompt
2014-07-02 02:36:41 +02:00
pancake
44556fe246
Fix code analysis on debugger (r_core_io_reat_at issue)
2014-07-01 17:01:52 +02:00
pancake
8de356a3b4
Fix latest coverity issues 1223224 1223225 1223226 1223227 1223228
2014-06-19 10:27:02 +02:00
pancake
160c4568f7
More RPN ESIL (udis86, vm, conditionals, ..). Honor cfg.debug
...
- A debugger session can be turned into emulation with 'e cfg.debug=0'
- Fixed undo seek issues
- Fix "Unknown register 'rip'" issue
- debugger commands mixed with analysis ones. We must merge at some point
- More udis86 instructions translated to the new esil
2014-06-17 10:23:11 +02:00
pancake
5d22331b78
Fix build and some scary warnings in RCoreFile->fd
2014-06-14 02:09:41 +02:00
jvoisin
30c9e212ac
Fix some clang warnings
2014-06-13 23:41:36 +02:00
pancake
6aba134a7e
Finish s/io.ffio/io.ff/
2014-06-10 11:20:17 +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
5e33a8a282
Initial huge refactoring of r_io still work in progress
2014-05-28 04:34:12 +02:00
pancake
65fd1e4d5a
Almost fix the io/ff and partial reads issue
2014-05-26 03:52:46 +02:00
deeso
5f6f8064d9
Fixed some issues in bin/dwarf.c and Fixed 1205194, 1205193, 1205192, 1205202, 1205203, 1205204, 1205205, 1205209, 1205208, 1205207, 1205206
2014-04-25 15:14:57 -05: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
Adam Pridgen
6a50f55834
Fixing some of the coverity issues
2014-03-28 12:17:23 -05:00
pancake
3ee51a2d02
Fix w32 build
2014-03-28 17:17:56 +01:00
Adam Pridgen
478d642434
Adding a command to shift blocks
2014-03-26 22:41:31 -05:00
Adam Pridgen
09fa5cf10c
Added extend to io support, now files can be extended, b00y4!
2014-03-24 22:57:36 -05:00