Commit Graph

1015 Commits

Author SHA1 Message Date
Srimanta Barua
6d5585fc68 Fix for incorrect pc after breakpoint, in x86 gdb (using signal 5) 2017-07-04 19:44:09 +02:00
SkUaTeR
c31d81da26 support for static build (#7822)
* support for static build
* improved sharard/static build
2017-06-28 22:54:40 +02:00
pancake
4e4ed9fd20 Implement s== to show flag names, not just offsets 2017-06-28 14:13:12 +02:00
SrimantaBarua
59a5c07d8f invalidate reg cache 2017-06-26 11:39:30 +02:00
SrimantaBarua
cb13de2c5b Corrections to attach pid 2017-06-26 11:39:30 +02:00
Adrian Pistol
7c6a74cdad WIP Serial fix for io_gdb. (#7808)
At least it allows the serial rsocket backend to be called, but I can't quite connect to my BMP, so I am not 100% sure this works. Something else might have broken something.
2017-06-24 10:18:31 -05:00
SrimantaBarua
9651b6a997 Attach pid 2017-06-23 11:50:26 +08:00
Srimanta Barua
c5eb7ef058 Support for dm commands in gdb (#7770)
* Added reading of memory maps from /proc/pid/maps
* Don't enable extended mode by default, only do so when attaching to process. Otherwise can't quit gdbserver
* Better gdb file reading
2017-06-19 19:43:55 +02:00
Adrian Pistol
3381ae974e Fixes to #7759 which I failed to push in. (#7766) 2017-06-18 02:45:37 +02:00
Adrian Pistol
d8f5cdb11c io_gdb: gdb://host:port/pid support; Add gdbr_{attach,detach,detach_pid,kill_pid} to gdbclient. (#7759)
Try to activate extended mode; Attach helper function requires extended mode to actually do something.

Tries to attach to the given pid in io_gdb.
This isn't proper, but it's better than running into the two-pid-vals-no-sync issue.
2017-06-18 00:59:13 +02:00
Srimanta Barua
d81f369fa1 Fix gdb client packet size (#7703)
* Fixes for packet too long
* Proper escaping in packets and run-length encoding
* Removed old cache code
* Removed currently unnecessary code from client initialization
* Preparation for customized packet sizes
* Better packet-size configuration
* Minimum packet size (for AVR)
* mem_write too
* Corrections to packing code
* Was overcompensating for AVR. (pkt_sz = 16 => read_mem_len = 8)
2017-06-11 02:12:44 +02:00
Roi Martin
a1388159c8 Fix hexdump offset in zoom mode
Add argument zoomsz to r_print_hexdump(). It allows to specify the real
size of each byte in the hexdump.
2017-06-06 10:45:01 +02:00
Lowly Worm
192dbad64e fix a few covs for out of bounds reads/writes
from fencepost errors
2017-06-03 01:21:07 -04:00
pancake
b7c7dcfbc2 Blindfix a null deref and 2 byte overflow in disasm 2017-06-01 23:57:36 +02:00
SkUaTeR
dc7914644e Meson improvements 2017-05-31 13:38:47 +02:00
SkUaTeR
0596c1c08e Meson shlr libs 2017-05-30 18:38:19 +02:00
pancake
4ee963ee98 Fix some clang-analyzer issues 2017-05-29 15:01:11 +02:00
pancake
765c0f2f72 Fix the r2 -d segfault on mac 2017-05-28 00:40:09 +02:00
pancake
e6ceba4cc2 Fix #7521 - Segfault in r2 -d on mac 2017-05-27 13:01:25 +02:00
pancake
0e841750e7 Fix build 2017-05-26 03:07:22 +02:00
pancake
6758e3753d Remove configure-plugins dependency for the make meson 2017-05-26 02:43:53 +02:00
pancake
9e19118eff Fix latest covs 2017-05-23 11:24:04 +02:00
Srimanta Barua
d3958f00e4 Initial stub for gdbserver support
* Renaming functions, reorganizing code, adding temporary hack for closing gdbserver
2017-05-22 19:37:48 +02:00
pancake
1e89a9a5d6 Fix #7510 - debugging in mac hides the output 2017-05-19 00:39:33 +02:00
SkUaTeR
9a1337512a meson.build fixes to build with MSVC 2017-05-14 23:06:00 +02:00
pancake
1db8c637ae Fix meson build on macOS 2017-05-10 00:05:50 +02:00
SkUaTeR
beb80cfc16 Fixes for MSVC 2017-05-09 23:53:20 +02:00
xarkes
926f024909 Improved MSVC support (WIP) 2017-05-09 14:25:57 +02:00
Srimanta Barua
a4d4002ce0 Reorganized shlr/gdb in preparation for gdbserver 2017-05-07 11:53:17 +02:00
pancake
3e0c7bc650 Support meson build for Linux (Requires meson 0.40) 2017-05-02 14:18:36 +02:00
pancake
60f9667654 Remove support for bjam build system
- Delete all Jamroot files
2017-05-02 05:48:40 +02:00
pancake
fa671b9a16 Initial support for the Meson build system
- Integrated with current ACR
- Fix some stale fails got removed
2017-05-02 05:05:36 +02:00
alvarofe
884fb911ae Fix redirection to std[io|out|err] in rarun for mac 2017-04-28 00:18:45 +02:00
pancake
835319ae8f Delete temporary rarun2 profile when using r2 -X 2017-04-27 00:04:28 +00:00
pancake
02398e1e17 Implement r2 -X to specify custom rarun2 directives 2017-04-26 19:35:37 +02:00
pancake
5433af7cb0 Fix build and several queues covs from previous analysis 2017-04-26 12:47:27 +02:00
pancake
ff0d724c60 Fix latest covs from io 2017-04-26 11:33:26 +02:00
condret
1ab91415e6 kill vio 2017-04-24 19:45:33 +00:00
Álvaro Felipe Melchor
c65ba95cb9 Fix #7257 - bad process set up when -R in xnu + minor refactor 2017-04-18 00:35:10 +02:00
pancake
a66cc10d46 Fix a huge list of null derefs from clang-analyzer 2017-04-17 22:02:04 +02:00
SkUaTeR
cae48a4093 Fix issue #7168 r2pipe-http debugging fails on w32 2017-04-11 17:50:54 +02:00
pancake
c1592008a0 Fix #7231 - cant connect and read memory with gdb:// 2017-04-10 17:32:07 +02:00
alvarofe
5326b2e9e1 Fix warning in io_null.c
I overlooked and did not notice that master and siol have different
signature for the same function.
2017-04-06 00:24:49 +02:00
pancake
668b56fabf Revert "Fix some overruns in gnu-arm disassembler, there are more"
This reverts commit 3a400cae58.
2017-04-05 15:10:30 +02:00
pancake
3a400cae58 Fix some overruns in gnu-arm disassembler, there are more 2017-04-05 11:10:34 +02:00
pancake
01477c74f0 More coverities fixed 2017-04-05 10:59:37 +02:00
alvarofe
737ca7ad81 Fix issue found while changing stuff in siol 2017-04-05 00:27:11 +02:00
pancake
0c2bf8080f Print out Sa in S*, handy for projects 2017-03-30 02:19:55 +02:00
pancake
c1074d8e9d Fix non-initialized regression in s 2017-03-27 13:43:18 +02:00
pancake
c504b85a7c Fix #7117 - Implement s! to show near flag names for history offsets 2017-03-27 13:12:59 +02:00