Commit Graph

1000 Commits

Author SHA1 Message Date
Ido Yariv
8ee54db24e Rewrite remote gdb packet handling
This patch addresses several issues with the current implementation,
including:
- Excessive recursions
- Incorrect handling of the escape character
- Buffer size limitations
2016-02-05 17:24:00 +01:00
pancake
751bad6820 Parametrize git 2016-02-03 13:22:05 +01:00
pancake
805e3f26e8 Fixes for lldb/debugserver on x86-64 2016-02-03 12:09:58 +01:00
Anton Kochkov
f931cc30cb Fix Mingw32 build 2016-02-03 13:46:36 +03:00
Ido Yariv
cba51be5b8 Skip first packet when connecting to gdbserver
QEMU seems to send a T02thread message upon connection. This can get the
client side out of sync wrt requests & responses.

To work around this, read a packet after a connection is made. This
could time out, but that should be harmless.
2016-02-03 11:29:54 +01:00
Ido Yariv
0952fd0815 Avoid needless polling on incoming gdb packets
In case the packet checksum is received, there's little point in
continuing to poll for data.
2016-02-01 12:23:52 +01:00
pancake
44a86928cc Fix some of the warnings in #4013 2016-01-27 03:14:19 +01:00
pancake
289aece1f9 More code cleanup for gdm debugger plugin 2016-01-27 01:56:24 +01:00
pancake
a5409417ba capstone patch is non interactive 2016-01-23 21:47:01 +01:00
Anton Kochkov
94b496eaf6 Fix shlr/zip for Mingw32 2016-01-22 22:57:48 +03:00
pancake
0d0e4e985d Fix support for capstone3 2016-01-22 20:53:15 +01:00
pancake
d852ed1a23 Use sync ajax in /m to avoid dupped stuff 2016-01-20 16:52:27 +01:00
pancake
5198c3b1a9 Bump capstone and sdb from git 2016-01-20 16:29:20 +01:00
pancake
5eea48f3a8 Fix #3915 - respect endianness in ? numstr 2016-01-11 01:39:15 +01:00
pancake
a362dcf6d9 Update sdb and fix more null derefs caused by mem exhaustion 2016-01-11 00:24:18 +01:00
pancake
3ac5ccbbe1 Fixes for the LDR ARM instruction (wip) 2016-01-05 01:02:33 +01:00
pancake
e56be2fbd5 More multi-arch static build archive fixes for iOS/OSX/tvOS/WatchOS/*OS 2015-12-28 18:31:05 +01:00
pancake
9a9617cdfd Bump capstone 2015-12-24 16:20:48 +01:00
jvoisin
3727f0794d Change the anti pattern if (A) free (A); for free (A); 2015-12-20 19:28:39 +01:00
alvaro_fe
a6e4d6b93e Fix #838 2015-12-16 11:40:23 +01:00
Carolina Fernandez
c955d4834f webui (m): enforcing foreground darker text color on hover (as expected) 2015-12-14 00:03:34 +01:00
Carolina Fernandez
7df9d7e2f0 webui (p): using 'pointer' cursor for top of lists in 'Strings' and 'Types' submenus 2015-12-14 00:03:33 +01:00
Carolina Fernandez
ec19819879 webui (p,m): using 'pointer' cursor for addr. or links in left menu 2015-12-14 00:03:33 +01:00
pancake
1a4785e7c7 Update capstone from git 2015-12-08 21:58:25 +01:00
François Revol
797a2efc81 C89
(duplicate ; is treated as an empty statement)
2015-12-07 21:48:44 +01:00
François Revol
8439c5f683 Only use gcc's visibility attribute starting from 4.0
cf. https://gcc.gnu.org/wiki/Visibility#Step-by-step_guide
2015-12-07 21:48:44 +01:00
lzmths
1e32eaf4aa Refactoring conditional directives that break parts of statements. 2015-12-03 12:35:10 +01:00
pancake
40e08dbd89 Get rid of _Bool 2015-12-01 12:39:12 +01:00
pancake
4e9916942c Update capstone 2015-11-28 11:42:28 +01:00
Álvaro Felipe Melchor
d8b269f11f Fix last covs 2015-11-24 21:53:25 +01:00
pancake
ccfee9fcca Fix many important issues reported by clang-analyzer 2015-11-22 11:27:45 +01:00
pancake
9056a608cb More Java build fixes 2015-11-20 16:53:58 +01:00
pancake
5f84e0953c More java cleanup and early fail to avoid overflows 2015-11-20 16:39:12 +01:00
pancake
f188ef836e Fix java build 2015-11-20 16:08:24 +01:00
pancake
b5b8d3db62 Some random code cleanup in Java code (-140LOC) 2015-11-20 16:00:35 +01:00
pancake
6e67049d6f Fix infinite loop, bring back the java crash to greenify 2015-11-20 14:46:23 +01:00
Anton Kochkov
e25c7b33d3 Fix x86.udis on Cygwin 2015-11-20 13:48:23 +03:00
pancake
4d4db25181 Fix another java crash reported by @revskills 2015-11-20 00:42:44 +01:00
pancake
2b682cf927 Simplify scan-build script 2015-11-18 10:33:59 +01:00
pancake
18604cded8 Update capstone from git-next 2015-11-15 11:08:07 +01:00
pancake
5f8c35a7dd Fix small warning 2015-11-13 22:38:07 +01:00
pancake
089edbc821 Update capstone from git 2015-11-13 18:31:06 +01:00
pancake
a411b06b59 Fix clang-analyzer script 2015-11-09 22:28:21 +01:00
pancake
55800c1ed7 Fix r_str_ndup 2015-11-09 21:54:57 +01:00
pancake
e37ada9096 Fix some asan issues with latest rbin changes in dex 2015-11-09 18:51:45 +01:00
pancake
164dcada3b More RBin memory usage optimizations 2015-11-09 12:12:18 +01:00
pancake
aaccaea40b Update sdb to get lower memory consumption 2015-11-09 05:07:53 +01:00
pancake
45de9bc433 Shrink Imports and Strings RBin memory footprint 2015-11-09 04:41:31 +01:00
pancake
baf63a0cba Reduce RBinSymbols memory (smaller footpronum) 2015-11-09 03:41:07 +01:00
pancake
9c9bb2dbd5 Memory optimization for flags (-70%) + some warnfixes + sdb-sync 2015-11-08 23:38:42 +01:00