pancake
9046aa2ebf
find | mv s/-/_/g ( #19302 )
2021-10-24 23:46:02 +02:00
pancake
9dbadb0ac1
mv shlr/heap into libr/include/heap ( #19285 )
2021-10-22 14:56:34 +02:00
pancake
6161fcd798
Use proper naming and location for the w32 debugger wrapper api ( #19271 )
2021-10-21 12:08:10 +02:00
Sergi Àlvarez i Capilla
76a50afce0
Add build failure fortune
2021-10-20 15:22:12 +02:00
Sergi Àlvarez i Capilla
f06bdadc3b
Fix missing function return
2021-10-19 22:46:13 +02:00
pancake
3548e2e8a4
Final mingw fixes
2021-10-19 12:52:00 +02:00
pancake
93f6b4cd3b
Initial work towards supporting mingw32/64 again ##build
2021-10-18 23:58:16 +02:00
Sergi Àlvarez i Capilla
d6e6609617
Make the macOS debugger more stable ##debug
...
* Fix random spawn error
* Fix ood regression
2021-10-12 21:53:23 +02:00
Sergi Àlvarez i Capilla
4020dfe52a
Fix reopen regression on Windows
2021-10-12 20:24:32 +02:00
pancake
704bf823d1
Cleanup and boolify some more debug apis ##refactor
2021-10-04 20:56:34 +02:00
Sergi Àlvarez i Capilla
6e85aa2970
Handle PPID on macOS debugger ##debug
2021-10-04 00:08:54 +02:00
pancake
007fdc97d9
Move linux specific thing used only in the debugger out of RUtil
2021-09-13 02:30:22 -07:00
pancake
e3f51a6ae5
ProcessIdToSessionId requires windows vista, so make it dynamic
2021-09-12 09:57:31 +02:00
pancake
9d18eb1a3a
Fix crash on windows dd
, still wip ##debug
2021-09-09 20:59:11 +02:00
pancake
658239c1c6
Support 16bit debuggers and fix 27bit define ##debug ( #19040 )
2021-08-31 17:09:15 +02:00
pancake
13782053d9
Minor code cleanup
2021-08-27 14:53:21 +02:00
pancake
0c1155211a
Expose a wrapper for r_w32_CancelSynchronousIo()
2021-08-27 13:04:55 +02:00
pancake
fd8e97034b
Expose r_w32_
function APIs instead of global symbols ##windows
...
* This fixes some long standing bugs related to linker problems
2021-08-27 03:03:34 +02:00
pancake
ba375f5702
Code cleanup, somewhat related to windows code
2021-08-27 03:03:34 +02:00
pancake
1c73f1b101
Portable fixes
2021-08-25 14:15:15 +02:00
pancake
395a6f2e64
Improve portability by defining util deps properly
2021-08-25 13:47:36 +02:00
pancake
84e323334c
Fix recent android build regression
2021-08-19 18:26:22 +02:00
pancake
6ca0abfe07
Fix w32 build (cdecl vs stdcall)
...
error C2440: '=': cannot convert from:
* 'HANDLE (__stdcall *)(DWORD,BOOL,DWORD)'
* 'HANDLE (__cdecl *)(DWORD,BOOL,DWORD)'
2021-08-18 11:14:26 +02:00
pancake
67b8af8f5b
Fix the windows debugger and make it more stable ##debug
2021-08-18 01:41:30 +02:00
pancake
f931473bec
Use data-align = 2 for v850 ( #18988 )
2021-08-17 15:47:09 +02:00
pancake
8a78055996
Fix all the sign UB bugs in the risc disassembler spotted by VS ( #18986 )
2021-08-17 02:09:49 +02:00
pancake
0acb19b68a
Fix some warnings spotted by visual studio ( #18985 )
...
Co-authored-by: pancake <pancake@nopcode.org>
2021-08-16 20:45:17 +02:00
pancake
321bb7fe75
Fix null deref and boolify the RDebug.attach() function ( #18960 )
2021-08-01 11:48:09 +02:00
pancake
3e1d31993d
dbg.verbose is now set to false by default ( #18911 )
...
* Hide GETREG error shown on WSL1
2021-07-18 18:25:11 +02:00
gogo
754e014ba6
Change the way wait events are handled in the unix-debug backend ##debug
2021-07-17 13:00:21 +02:00
pancake
5188df196d
Random code cleanup
2021-07-17 13:00:21 +02:00
gogo
130c220792
Add 'sigstr' to the 'di' output for verboser stop reasons ##debug
2021-07-17 13:00:21 +02:00
gogo
472c7327f4
Add RSignal.toHuman() and improve RDebugReason.toString() ##debug
2021-07-17 13:00:21 +02:00
pancake
46068b1625
More portability build fixes
2021-07-07 20:09:55 +02:00
pancake
97f0c73058
Honor --disable-debugger in BSD
2021-07-07 20:04:12 +02:00
pancake
b56b63081d
Fix segfault in di when the process is dead
2021-06-29 20:09:11 +02:00
pancake
188bce9f25
Use DRX APIs to handle breakpoint recoils only on x86-64 ##debug
2021-06-29 11:56:55 +02:00
pancake
46db8026d1
Resolve GetProcessImageFileName at runtime
2021-06-21 23:21:55 +02:00
pancake
190d809466
Use dynamic api resolution on windows builds for better portability ##windows
...
* Single implementation in r_util, used across io and debug
2021-06-21 23:09:14 +02:00
pancake
57a9bfd9da
Fix iOS build regression
2021-06-21 01:18:57 +02:00
gogo
42290ab92a
remove message about to attach PID
2021-06-12 04:04:55 +02:00
nmeum
79539dfbda
Fix armhf/armv7 musl compatibility again ( #18792 ) ##build
...
In e92d170a3b
, the include of asm/ptrace.h
has been silently disabled. Thereby basically reverting #13427 . However,
without asm/ptrace.h included the build will fail on musl armhf/armv7
targets with the following compilation failure:
p/native/linux/linux_coredump.c: In function 'linux_get_arm_vfp_data':
p/native/linux/linux_coredump.c:950:27: error: 'ARM_VFPREGS_SIZE' undeclared (first use in this function)
950 | char *vfp_data = calloc (ARM_VFPREGS_SIZE + 1, 1);
| ^~~~~~~~~~~~~~~~
This commit fixes this build failure by including asm/ptrace.h again.
2021-06-03 02:21:51 +02:00
Sergi Àlvarez i Capilla
66e8e33428
Define flags as gpr on the darwin-arm64 profile
2021-05-30 20:12:02 +02:00
Sergi Àlvarez i Capilla
976d0f0a7b
Copypaste error
2021-05-30 20:08:36 +02:00
pancake
68f3aa05c4
Add missing =SN and zf for the darwin-arm64 native debugger reg profile ##debug ( #18779 )
2021-05-30 20:00:35 +02:00
pancake
bc929df5be
Fix assert in r2 -e dbg.btalgo=trace -c dbt -d r2
2021-05-27 15:50:16 +02:00
David CARLIER
269f6808a7
debug: Fix FreeBSD 13 build. ( #18728 )
2021-05-20 20:18:51 +02:00
pancake
70a42d04d2
Fix infinite loop in r2 -c 'ood;ood' - ##debug ( #18714 )
2021-05-20 02:43:24 +02:00
Giovanni Di Santi
8ee7b62943
Fix dmha output after ood ( #18710 ) ##debug
2021-05-20 00:45:41 +02:00
pancake
e92d170a3b
Add support for acr/musl-gcc static builds ##build
2021-05-14 21:34:21 +02:00