Srimanta Barua
9d5306a520
remove strlcpy (was breaking on windows)
2017-08-13 16:39:32 +08:00
Lowly Worm
d602844c09
fix unchecked copy from regname in gdb xml parser
2017-08-12 22:13:45 -07:00
Srimanta Barua
9d65eebb36
Additions to gdb xml parsing ( #8196 )
...
* load gdbr register array from xml
* fix (probably unimportant) memory leak
* parsing of flag types
* r2-indent
2017-08-12 10:36:46 +02:00
pancake
59a94ae59f
Fix #8084 - Honor colors in json_indent ~{}
2017-08-11 12:23:57 +02:00
pancake
53fb6d668d
Make jemalloc atomic.h be non-atomic for portability
2017-08-09 22:30:31 +02:00
SrimantaBarua
e115ba98c5
fixed xml reading bug for small packet sizes
2017-08-09 16:17:03 +02:00
xarkes
c1f6b29e8e
Windbg code cleaning
2017-08-08 18:45:11 +02:00
pancake
381f3a072b
Remove atomic_uint_least64_t from jemalloc's atomic.h
2017-08-07 12:15:55 +02:00
Srimanta Barua
ce94f8d711
Reading xml target description and parsing into r2 reg profile ( #8124 )
...
* send qXfer packet
* reading file includes
* parse
* r2-indent
* added missing profile = tmp2;
2017-08-05 12:22:02 +02:00
Srimanta Barua
b9695773ce
added =!detach, and replaced eprintfs with io->cb_printf ( #8125 )
...
* added =!detach, and replaced eprintfs with io->cb_printf
* keep error in eprintf
2017-08-04 19:18:43 +02:00
Rene Laemmert
261675ef3b
Make old gcc happy again ( #8128 )
2017-08-04 19:00:02 +02:00
xarkes
3da3958db8
Windbg FIX #7660 + typos ( #8126 )
2017-08-04 17:49:41 +02:00
xarkes
3d681b0fe5
Renamed windbg plugin ( #8117 )
2017-08-03 14:58:39 +02:00
pancake
97a38e6eea
More tweaks for the jemalloc support
2017-08-03 13:56:45 +02:00
pancake
e913c770f5
Fix build
2017-08-03 13:27:11 +02:00
Srimanta Barua
74c80f9e09
min-checks on gdb packet size ( #8106 )
2017-08-02 14:14:11 +02:00
pancake
bf8651454b
Avoid another divbyzero in gdb code
2017-08-02 13:28:07 +02:00
Srimanta Barua
7b5de5cb51
fix divide by zero ( #8100 )
2017-08-02 12:13:28 +02:00
Srimanta Barua
f6f5199ef6
let gdbserver select thread ( #8101 )
2017-08-02 12:10:43 +02:00
Srimanta Barua
9f9192232a
Fix a lot of incorrect 'garbage at end of packet' messages ( #8080 )
2017-08-01 11:40:33 +02:00
Srimanta Barua
d93977358d
Small gdb fixes, and added alternate way to get baddr ( #8055 )
...
* check if 'g' is supported before switching to reading regs using '?'
* stabilize gdbserver a bit more
* added ability to get baddr even if we can't read memory map (if qOffsets packet is supported)
2017-07-29 17:58:20 +02:00
xarkes
221b312046
Meson builds generates sdb files (+build clean) ( #8035 )
2017-07-26 23:15:41 +02:00
Srimanta Barua
277771156c
fix gdb covs ( #8036 )
2017-07-26 20:20:07 +02:00
Srimanta Barua
058d5fe7b0
More fixes for when process dies ( #8032 )
2017-07-26 15:50:55 +02:00
Srimanta Barua
d05f865f77
read registers from lldb ( #8004 )
2017-07-25 16:28:58 +08:00
pancake
fb4294c36b
Fix #8000 - null deref in pkcs7
2017-07-24 15:32:05 +02:00
pancake
76448886cb
Looks like dex needs lit too, and force n in cspatch
2017-07-24 13:38:40 +02:00
Srimanta Barua
6f25437342
Handling of more stop reasons, cleanly close gdb connection ( #7998 )
2017-07-24 12:39:53 +02:00
Srimanta Barua
e4cce06671
Added reading of executed file name to gdbserver
2017-07-21 20:06:41 +02:00
Guillaume Valadon
ea8adc48da
Use void in prototypes ( #7974 )
2017-07-20 14:50:13 +02:00
Srimanta Barua
6f2eb2843b
Added command to get/set packet size for gdb io system ( #7961 )
...
* Added pktsz to io system
* Add env var to control gdb packet size
2017-07-20 11:57:29 +02:00
pancake
2829d9e398
Detect kotlin in java classes
2017-07-19 13:55:05 +02:00
pancake
770f3e752f
Fix #7932 - Support relative addresses in java assembler
2017-07-17 12:17:53 +02:00
Srimanta Barua
8c6a05dd58
Add reporting of debug info ( #7941 )
2017-07-17 11:39:34 +02:00
Srimanta Barua
4916b318d8
fix memleak in gdbserver ( #7940 )
2017-07-17 09:30:48 +02:00
Srimanta Barua
7858bb970d
Un-hardcode reporting of stop reason, and add read/write of single reg to gdbserver ( #7938 )
...
* Better reporting of stop reason by gdbserver
* Added read/write of single reg
2017-07-17 08:51:30 +02:00
Srimanta Barua
b59276938e
Added debugging of protocol messages in gdbserver ( #7931 )
2017-07-16 12:01:17 +02:00
pancake
6e1f9c981e
Fix latest covs
2017-07-14 17:36:21 +02:00
Srimanta Barua
066e85554e
gdb get exec file name, and threads list ( #7908 )
...
* Thread list
* Added check if thread is dead
* Added exec_file command to io system
2017-07-13 00:33:53 +02:00
pancake
1b6cfb68bd
Fix some memleaks, warnings and null derefs pointed out by clang analyzer
2017-07-10 11:20:03 +02:00
Srimanta Barua
47a081c5df
cleanup redundant gdbr_send_command ( #7890 )
2017-07-09 20:55:15 +02:00
Srimanta Barua
9e437f861b
Added qRcmd monitor commands to io_gdb ( #7877 )
...
* Added qRcmd to io_gdb
* Printing reply to pkt and prompting for ack if required. Also adhering to r2 coding conventions
2017-07-08 10:29:11 +02:00
pancake
39e63acfe0
Fix last COVs (double free and memleak in grub code)
2017-07-05 13:13:53 +02:00
Sven Steinbauer
b61e278c01
Conditionally remove sh for iOS
2017-07-05 13:01:02 +02:00
j123123
f3f71b195b
Add NULL check at shlr/sdb/src/json/api.c ( #7859 )
2017-07-05 06:52:56 +02:00
Srimanta Barua
6d5585fc68
Fix for incorrect pc after breakpoint, in x86 gdb (using signal 5)
2017-07-04 19:44:09 +02:00
pancake
c57997e76e
Fix r2_hbo_grub_memmove ext2 crash
2017-07-04 19:38:33 +02:00
pancake
8c3035acc2
Fix ios-sdk builds
2017-07-04 19:16:24 +02:00
Srimanta Barua
d453d7430f
pid/tid specific continue with signal for gdb ( #7848 )
...
* Corrected tid syntax, added pid/thread-specific continue
* Added continue with sig
2017-07-02 19:09:04 +02:00
Srimanta Barua
2424f962ce
Check which vcont commands and use them if they are ( #7847 )
2017-07-01 21:16:48 +02:00