Commit graph

1228 commits

Author SHA1 Message Date
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
Florian Märkl
5e1f811ec0 Fix meson indentation (#9567) 2018-03-03 22:08:37 +01:00
Florian Märkl
95a1b75784 Install Headers and .pc Files with Meson (#9548)
Use meson pkgconfig for .pc files

meson 0.44

Install same headers as acr
2018-03-03 20:00:18 +08:00
pancake
e1bc01d912 Fix conditional around r_debug_kill 2018-02-27 18:40:15 +01:00
pancake
d83d64faa3 Fix #9287 - mkstemp != r_file_temp 2018-02-24 00:55:54 +01:00
Giovanni
0c776c0e71 warnings from lib (#9445) 2018-02-20 23:19:35 +01:00
Paul I
bb4f61580e Cleanup meson files (#9424) 2018-02-20 09:33:19 +01:00
Fangrui Song
320a2d5a58 Add FUNC_ATTR_USED and fix some warnings (#9413) 2018-02-17 20:19:33 -06:00
pancake
f1be2a2af3 Fix more crashes related to reopen gdb:// 2018-02-18 03:18:30 +01:00
pancake
eef94066a0 Fix some crashes for 9410 2018-02-18 03:08:17 +01:00
pancake
4e44e8e18e Fix compilation warnings on Linux 2018-02-09 18:45:54 +01:00
pancake
39d208af9a Remove unnecessary TODO printf in debug.esil 2018-01-28 00:17:12 +01:00
pancake
8e5c4164ab Initial blind implementation of hwbp for native Linux ARM and ARM64
- Pretty incomplete, but builds and should work(R) sometimes.
2018-01-24 00:55:44 +01:00
pancake
303820dbac Initial purge of R2_PREFIX towards dir.prefix 2018-01-16 11:13:21 +01:00
whitequark
c816dc7e66 Don't try to build shared libraries if configured as --without-pic.
Specifically, avoid building all plugins as non-static objects,
as well as some supplementary libraries. In fact, a large amount
of plugins was already gated to build as shared objects only with
WITHPIC=1, but this was not done consistently.
This gating has been moved to */p/Makefile.

Building these shared objects is a waste of time and breaks
the --without-pic build unless CFLAGS is forced in the make
invocation.
2018-01-11 23:09:22 +01:00
Giovanni
eb5200743e Removed debug eprintf from gdb code 2018-01-09 18:40:22 +01:00
pancake
e43107d1ca r_str_chop_ro, r_str_trim_const -> r_str_trim_ro 2018-01-08 03:29:29 +01:00
pancake
335938be58 r_str_chop -> r_str_trim 2018-01-08 03:22:26 +01:00
Khairul Kasmiran
9484bdb622 Fixed r_debug_native_reg_profile const qualifier warning 2017-12-31 20:59:52 +08:00
Anton Kochkov
e0f3238316
Enable MSVC gdb build (#9087)
* Enable MSVC gdb build
* Link with GDB
* Link with r_socket for gdb
2017-12-29 14:58:35 +08:00
Ziyaddin Sadigov
d4dd6fd5e6 Fix typo regarding byte size (#9067) 2017-12-27 18:33:58 +01:00
pancake
1d4cfea5cb Damn missing line 2017-12-20 19:23:09 +01:00
pancake
0c2eda71f8 Fix warning reported by gcc7 in wasm.c 2017-12-20 18:58:40 +01:00
Khairul Kasmiran
0c048b2774 Moved some static prototypes into their source file 2017-12-20 22:38:20 +08:00
pancake
6f0de4913e Implement io.cache.auto to cache all reads for slow io backends 2017-12-18 01:44:22 +01:00
pancake
45c23a4926 Fix memleak in disasm and avoid bad practices like if(x)free(x) 2017-12-13 13:14:28 +01:00
Ayman Khamouma (ak42)
5bd7d35404 Use standard r_bp_size in order to get breakpoint size (#8999) 2017-12-10 16:50:38 +01:00
xarkes
410ca09803
Added dynamic linking build for Appveyor (#8948)
* Revert "Enable GDB for Windows (#8877)"
Because it does not work while linking dynamically on windows
This reverts commit 12b9d8c3b4.
* Added dynamic linking build for Appveyor
* Try cleaning Windows linkage (meson)
2017-12-03 21:26:13 +01:00
Srimanta Barua
24aa0bbb83 Fix #8916 - Add dmm to gdb (#8921) 2017-11-30 15:08:37 +01:00
Anton Kochkov
12b9d8c3b4
Enable GDB for Windows (#8877) 2017-11-24 14:16:14 +08:00
Michael Zhilin
236758fa1e [FreeBSD] ino64 change on -head (#8860) 2017-11-22 11:25:00 +01:00
Rick Altherr
9e440fb1b4 dreg: Fix printing of 16-bit x86 segment registers
'ar seg' ends up calling r_debug_reg_list() with size=0.  This should
disable filtering of matches by size per the inner loop iterating over
the registers.  An earlier check to ensure the requested size is valid
for this register set fails to allow for size=0 and will force it to
size=32 instead.  When in 16-bit mode, that will cause no registers to
be printed.
2017-11-20 03:06:40 -05:00
Raul Siles
08d9abe283 Change references from OSX to macOS 2017-11-15 10:43:31 -05:00
pancake
9197da06d0 Fixes for step back 2017-11-12 12:52:06 +09:00
Maijin
4bb5c15faa r_lib_struct_t -> RLibStruct 2017-11-10 13:38:05 +01:00
pancake
18f51c3460 Initial support for ec usrcmt -> user comments have different color 2017-11-10 08:07:05 +01:00
pancake
e9b584a57a More memleak fixes for the XNU debugger. Thanks @ora8 2017-11-04 21:28:01 +01:00
pancake
9b19ca5793 Fix another memleak in the XNU debugger 2017-11-04 21:00:58 +01:00
pancake
5b8eaa4a56 Fix another memleak in xnu's debugger 2017-11-04 20:42:38 +01:00
pancake
1f70a7ece8 Fix memleak in mac debugger and regression in asm.immstr 2017-11-04 20:22:14 +01:00
pancake
6116682527 Fix Vpp for debug.io 2017-11-04 15:48:43 +01:00
pancake
a1e24700e3 Fixes for winedbg:// and debug.io 2017-11-04 15:37:09 +01:00
josediazfer
054c017651 Fix Try to fix attaching issues for Windows #8770 (#8776)
If we call CreateProcess function with DEBUG_ONLY_THIS_PROCESS flag then
fail DebugActiveProcess when execute the following radare command:
r2 -d test.exe
Removed verbose ouput :/
2017-11-03 19:52:45 +01:00
Jose Diaz
e74aadad28 Renaming char_to_w32 => utf8_to_utf16 2017-11-03 10:27:18 +08:00
Jose Diaz
c6b3940579 Remove spaces 2017-11-03 10:27:18 +08:00
Jose Diaz
99e558ab19 Fix mingw32 compilation: replace __T by TEXT 2017-11-03 10:27:18 +08:00
Jose Diaz
4c80a3a4db Fix miss copy null character 2017-11-03 10:27:18 +08:00
Jose Diaz
527ff71d41 Convert char to windows unicode 2017-11-03 10:27:18 +08:00
Anton Kochkov
e370ad02f2 Try to fix #8622 2017-11-02 20:56:30 +08:00