Commit graph

113 commits

Author SHA1 Message Date
Fangrui Song
d9608fe186 Support powerpc64 PTRACE_GETREGS (#8529)
On BSD, addr and data are swapped. But on Linux, only SPARC strays.

Goodbye SPARC and Solaris.
2017-09-16 02:33:52 +02:00
pancake
ac63497b5a Remove harmless attach warning and support sparc in get/set-regs 2017-09-15 13:08:16 +02:00
Giovanni
e4342297c4 Various fixes for bugs from coverity + bonus (#8372)
* 1356014 Resource leak
* 1356012 Resource leak
* 1356010 Resource leak
* 1355967 Resource leak
* 1355960 Resource leak
* 1352987 Resource leak
* 1352986 Unintentional integer overflow
* 1352985 Unintentional integer overflow
* fixed coverity missed null deref
* 1347178 Resource leak
* 1347178 Resource leak
* 1346910, 1363297 Resource leak
2017-08-29 12:39:49 +02:00
xarkes
c1f6b29e8e Windbg code cleaning 2017-08-08 18:45:11 +02:00
leberus
f3d11405e7 Fix debug for Linux 2017-08-02 14:49:56 +02:00
Anton Kochkov
8041b3c284 Fix a few leaks 2017-07-29 20:30:02 +08:00
Srimanta Barua
8c6a05dd58 Add reporting of debug info (#7941) 2017-07-17 11:39:34 +02:00
pancake
b24281c9c5 More fixes for mingw 2017-05-10 15:32:34 +02:00
pancake
a66cc10d46 Fix a huge list of null derefs from clang-analyzer 2017-04-17 22:02:04 +02:00
pancake
cda1873ee7 Fix linux build 2017-04-10 01:37:56 +02:00
pancake
45889c7307 Implement Pn+, and fix bugs (thx clang-analyzer)
- Update SDB (use memmove)
- Fix garbage read in capstone x86 and lm32
- Add UT16/32/64_ALIGN macro for proper (ut16*) allocations
- Add Pn+ command
2017-04-10 00:49:02 +02:00
davidpolverari
1fb422b532 Fix #6162 - Renames r_str_concat to r_str_append 2017-03-16 22:29:49 +01:00
pancake
f82930fd75 Fix latest covs 2017-03-15 12:12:55 +01:00
pancake
6eff81c201 Those ones too 2017-03-13 03:53:27 +01:00
pancake
91016693cb Avoid 100% cpu usage in Linux debugger 2017-03-08 12:31:43 +01:00
Giovanni
43532031c4 Fixes for windows and some are also global (#6936) 2017-03-08 08:49:31 +01:00
SchumBlubBlub
223dbb6538 Make reg order consistent across x86-* (#6685) 2017-02-06 00:05:47 +01:00
SchumBlubBlub
c8a403ad7c Move o[er]ax to last pos of gpr regs (#6674) 2017-02-03 23:34:10 +01:00
leberus
c5149f97b7 Fix: Fixed regression pointed by #6650 (#6672) 2017-02-03 18:20:07 +01:00
leberus
4fd1e990d9 Add: coredump refactoring + RDebugMap offset field (#6633) 2017-02-01 22:17:59 +01:00
leberus
30743e9b20 Fix: #6616 crash in crash core generation 2017-01-31 22:14:21 +01:00
leberus
82f282c629 Add: dbg.libs/unlibs for linux (#6567) 2017-01-24 20:22:36 +01:00
pancake
41602c4212 Fix android build 2017-01-18 13:46:39 +01:00
leberus
286ca4d0ed Add: support for dbg.follow.child option (#6525) 2017-01-18 00:40:30 +01:00
leberus
f4b8fbbc77 Fix: remove linux specific and add braces 2017-01-16 12:22:24 +01:00
pancake
2a83f21a3e Make gcc6 warnings happy 2017-01-15 22:02:57 +01:00
leberus
dc5be7a767 Improving debug on linux (#6435) 2017-01-11 17:39:09 +01:00
leberus
8b0afcbc39 Fix: #4856 #4857 (#6365) 2016-12-28 16:02:05 +01:00
pancake
50d73d1547 Fix a lot of memleaks, null derefs and undef behaviour thanks to clang-analyzer 2016-12-19 16:44:51 +01:00
Eugene
4530585132 Refactoring fixes in debug/linux (#6339) 2016-12-18 12:20:31 +01:00
pancake
6296f4b794 Add option to stop syscall tracing -before- the syscall is executed 2016-12-09 22:19:47 +01:00
leberus
e82a638006 Fix: #6278 (#6280) 2016-12-03 19:00:29 +01:00
user.name
2e5e67ee08 Fix: regression in commit f0f54ad1c6 2016-12-02 18:20:19 +01:00
pancake
7a68fd2d82 Attempt to fix the register profile reloading issue 2016-11-14 15:59:50 +01:00
SkUaTeR
4c2a01d4a7 Fix in profile to get correct reg.size (#6238) 2016-11-21 23:13:59 +01:00
Rakholiya Jenish
276f3ce1d2 Fix compilation error on arm64 (#6224) 2016-11-20 11:33:07 +01:00
pancake
19295f880e Add missing SN in linux-arm64 debugger reg profile 2016-11-10 02:57:34 +01:00
pancake
ab28917568 Honor --without-debugger for linux-coredump 2016-11-06 22:04:45 +01:00
pancake
eb272dc6f3 Honor SN in syscall resolution on disasm 2016-10-28 02:27:50 +02:00
pancake
be9df39f6f Fixed 40 null derefs reported by coverity 2016-10-20 15:02:25 +02:00
pancake
7a1b6871d9 Fix a bunch of outstanding coverities 2016-10-20 14:11:02 +02:00
Álvaro Felipe Melchor
f0f54ad1c6 move check of num_threads into get_proc_process_content 2016-10-03 00:13:35 +02:00
Álvaro Felipe Melchor
218474ec13 Remove unused variable and coding style file.c 2016-10-02 02:05:23 +02:00
Álvaro Felipe Melchor
b0ee337c0f Fix regression in coredump 2016-10-01 11:03:05 +02:00
Álvaro Felipe Melchor
6f2b0e5b64 more coverities 2016-09-29 12:56:13 +02:00
alvaro_fe
9763de3b0b coding styles changes 2016-09-26 17:00:03 +02:00
zonkzonk
7fe4084b32 update linux_coredump.c check nullptr for elf_proc_note->n_threads
.
2016-09-26 17:00:01 +02:00
pancake
490d2a498a Fix #2571 - dcs is working again 2016-09-26 13:40:25 +02:00
pancake
a86ae89f1d Fix syntax error from termux 2016-09-19 12:39:00 +02:00
dromero
20ed81af73 Fixing debugging problems at MIPS (32bits) (#5800) 2016-09-19 02:10:43 +02:00