Armin Weihbold
9b9103e00a
Enhance drm command, add drm xmm0 functionality ( #15214 ) ##debug
...
* Add shorthand versions of `drm` - `drm[bwdq]`
* Add mmx register to linux-x64
2019-10-10 04:40:08 +02:00
Armin Weihbold
db1b79b125
Fix #13118 - drf st0 - fpu regs ( #15241 )
2019-10-10 04:37:37 +02:00
Armin Weihbold
a4954a221e
Fix drf output formatting ##debug
2019-10-09 10:18:30 +02:00
Anton Kochkov
20e19d6023
More spelling fixes in the code
2019-06-20 13:36:02 +08:00
pancake
3fe39f0c38
wzr/zr/xzr register on arm64 is wired to ground ##anal
2019-06-19 18:00:51 +02:00
xarkes
47153d9dfd
Fixed missing parameter for linux i386 ( #14026 )
2019-05-10 12:44:52 +02:00
Florian Märkl
23e906ea70
Fix some warnings
2019-05-10 10:57:29 +02:00
pancake
5d646d3551
Fix some warnings in the linux-debugger code
2019-05-08 11:59:57 +02:00
Cyrill Leutwiler
501f6ab016
Fix dg in Linux by using r_debug_ptrace instead of ptrace ##debug
2019-04-21 00:38:36 +02:00
Johannes
a3568f0098
Fix musl compatibility - ARM_VFPREGS_SIZE is defined in asm/ptrace.h ( #13427 )
2019-03-18 22:37:35 +01:00
pancake
9930fd82d1
Fix Linux debugger crash regression
2019-01-14 00:18:09 +01:00
radare
18931ff3fb
Fix debugger regression in Android ##debugger
2019-01-24 05:22:56 +08:00
pancake
709ffb60b6
Fixes for the android build and related warnings
2019-01-21 12:10:33 +01:00
David CARLIER
2eb706029c
Few code/cleanups mem leaks potential ( #12591 )
2018-12-31 00:21:47 +01:00
pancake
a6f943d87d
Fix musl build (required for Alpine)
2018-12-18 18:24:09 +01:00
pancake
842dadc41d
Add mips software breakpoint in the macro
2018-11-27 10:19:07 +01:00
radare
d05292e485
Fix 80 warnings coming from gcc8.2 ( #12280 )
2018-11-22 22:11:43 +01:00
lzutao
b790439e28
Cast arguments to ut8 when feeding ctype.h functions ##refactor
...
The behavior of the `<ctype.h>` functions is undefined for negative
arguments (other than `EOF`). In such a situation, the argument should
be cast to `unsiged char` for safety.
References:
- C Programming: A Modern Approach, 2nd Edition: page 612, chapter 23.5
2018-11-06 13:40:00 +01:00
Florian Märkl
daddf534e3
Fix #11799 - Fix ptrace warnings ( #11800 )
2018-10-12 18:15:46 +02:00
Florian Märkl
0c0fee7b48
ptrace-wrap ( #11723 )
...
* Add ptrace-wrap
* Add r_io_ptrace* and r_debug_ptrace()
* Use wrappers instead of calling ptrace and fork directly
* Sleep while waiting in linux_debug
* Add ptrace-wrap Makefile
* Link io against ptrace-wrap with acr
* Define ptrace usages in r_userconf.h
* Conditional ptrace-wrap in acr
* Fix HAVE_PTRACE
* Some fixes for Solaris
* Fixes for FreeBSD
* More fixes for Solaris
* Style Fix
2018-10-12 12:20:18 +02:00
pancake
41ec949204
Fix #11112 - Rename {srwx,flags,perms} to perm. (-21 LOC)
...
Unify R_IO, R_BIN, R_BP, .. into R_PERM_* using 1 letter syntax
2018-09-22 11:31:45 +02:00
radare
f85ebe34cb
Fix #11437 - syscall calling conventions for x86-64 ( #11549 )
...
* Fix windows x64 fastcall conventions
2018-09-17 12:46:59 +02:00
Neven Sajko
4a722e80d8
Add braces to if, else, for, while ... ( #11504 )
2018-09-13 10:17:26 +02:00
Neven Sajko
d8784641ee
Add parentheses in macros where needed for safety ( #11290 )
2018-08-30 13:16:50 +02:00
Fangrui Song
6e776b986a
Fix some warnings in debug ( #10929 )
2018-08-05 11:56:15 +02:00
pancake
4eec87cdf6
More warnings fixed
2018-07-14 10:58:19 +02:00
Andrea Sindoni
238cbbfc11
Add stop address info to the "di" command ( #10445 )
2018-06-22 13:17:40 +02:00
radare
9e08da0fa6
Improve build of libr.a and libr.dylib, fix and improve sys/ios-sdk.sh ( #10046 )
...
- Update spp and force hidden visibility
- Use R_API wisely
- RSys.prefix returns const things
- Use -install_name on Apple
- Fix merged lib visibility linking on Linux
- Use OSTYPE instead of BUILD_OS
- Honor crosscompiler-objcopy and support android like linux
- Add extra missing archives
- Fix for android
- Upgrade spp and sdb
- Skip libr. from symstall
- Add --enable-merged configure option
- Use --enable-merged on ios-sdk
- Upgrade sdb again for js0n
- Kill sys/ios-shell.sh
- Msvc dynamic build fix
2018-05-09 23:31:52 +02:00
pancake
d48f6453bc
Fix regprofile for linux arm64
2018-04-21 19:46:04 +02:00
pancake
1adac87918
Update sdb-1.1.0, update calls to sdb_fmt()
2018-04-10 23:52:47 +02:00
pancake
9c1f5e0409
Fix mips64 debugger regprofiles
2018-04-04 16:40:46 +02:00
Anton Kochkov
2ca6ad153d
Fix warning
2018-03-19 16:04:37 +08:00
pancake
0cc69579ea
Add missing 8, 16, 32 bit registers (and flags) for the linux-arm64 debugger reg profile
2018-03-15 10:16:34 +01:00
pancake
95bf50349c
Fix cast issue in eprintf for debug.core.linux
2018-03-14 21:16:58 +01:00
Oscar Salvador
b4f1124a88
Fix: coredump generation for huge programs ( #9680 )
2018-03-14 13:08:17 +01:00
Anton Kochkov
f30df2c19d
Add print format for size_t, fix warns
2018-03-12 19:01:54 +08:00
Oscar Salvador
61765c3e15
Fix coredump generation ( #9605 )
2018-03-06 13:54:25 +01:00
Fangrui Song
320a2d5a58
Add FUNC_ATTR_USED and fix some warnings ( #9413 )
2018-02-17 20:19:33 -06:00
pancake
4e44e8e18e
Fix compilation warnings on Linux
2018-02-09 18:45:54 +01:00
Khairul Kasmiran
9484bdb622
Fixed r_debug_native_reg_profile const qualifier warning
2017-12-31 20:59:52 +08:00
Khairul Kasmiran
0c048b2774
Moved some static prototypes into their source file
2017-12-20 22:38:20 +08:00
pancake
b07653dbe3
Fix #8751 - Infinite loop when a signal is received in the middle of a step-over
2017-10-31 14:28:08 +01:00
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