Commit Graph

1743 Commits

Author SHA1 Message Date
pancake
bb810cfc4c Implement anal.norevisit using SetU instead of Sdb ##anal
* Fixes the infinite loop in aac, but it's just a leaky workaround
2019-09-17 00:46:07 +02:00
pancake
f3618747dd Add m680x arch support for the meson builds 2019-09-16 19:34:06 +02:00
Lev Aronsky
5137ef6daf Fix gdb reg write byte order (#15009) ##debug
* Added ba2 so that the gdbserver backend connects correctly

* Fixes to remote gdb register writes:

1. Byte order is target-defined. Use cfg.bigendian for now. Possibly get it from target later?
2. Register number should be hexadecimal.
2019-09-11 11:05:17 +02:00
pancake
631db86543 Fix minor warnings and update sdb from git 2019-09-11 00:18:07 +02:00
karliss
5379c70e89 Fix memory leaks and other problems found by ASAN. (#14980) 2019-09-08 01:24:14 +08:00
GustavoLCR
1eef31a814 Fixes for dmh in Windows
* Get offset of important globals from ntdll's PDB
* Workaround some RtlQueryProcessDebugInformation hangs for Win10
2019-09-05 09:49:41 +02:00
radare
0c386b4121
Introduce anal.in=code (2x faster aar in some big binaries) ##anal (#14923) 2019-08-28 19:39:04 +02:00
Srimanta Barua
e7ef4e6d62 Fix crash in gdb client (#14897) ##debug
* Remove recursive handle_stop_reason call
2019-08-26 21:05:30 +02:00
radare
87308db077
Update capstone again (#14862) 2019-08-21 12:40:20 +02:00
Paul I
2556919857 Add clang-cl support (#14814) 2019-08-16 12:10:00 +08:00
GustavoLCR
04121a2ad8 Fix stack-use-after-scope (#14811) 2019-08-15 13:41:41 +08:00
GustavoLCR
87079ea21c Fix #14804 - Make sure anon structs have unique names (#14806)
* Also skip "union" to get type
2019-08-15 12:00:20 +08:00
Maijin
b22ca85d4e Remove sleep 10 (#14791) 2019-08-14 17:26:27 +08:00
radare
8915a0a515
Update capstone (#14780) 2019-08-10 00:07:36 +02:00
Slava
38a10d64fb Fix build with system capstone (--with-syscapstone) (#14753) 2019-08-03 18:00:12 -07:00
pancake
6fdbf5b1c2 Fix static-build without GPL code 2019-08-02 09:51:09 -07:00
radare
c93c094c40
Fix android-static ##build 2019-08-01 04:39:40 +02:00
Anton Kochkov
5b9215bff5
Fix #13633 - support nested unions (#14712) 2019-07-31 18:40:40 +08:00
GustavoLCR
6664b2ba39 More fixes to WinDbg (#14675) ##debug ##windbg
* Fix seeking (stepping now works)
* Fix more crashes
* Fix compiler warnings
2019-07-28 11:48:46 +08:00
Ayman Khamouma
848c94d577 Fix capstone symbols visibility 2019-07-28 01:32:52 +02:00
GustavoLCR
8a6a7ba852 Some fixes to windbg (#14666) #debug #windbg
* Fix #10505
 * Fix wrong register profile being picked
 * Fix use-after free(s) and null derefs
2019-07-27 14:29:02 +08:00
Florian Märkl
24d3a9cb5d Add r_parse_ctype ##parse (#14596)
* Add r_parse_ctype

* Add mpc to acr

* Readability

* Fix r_parse for acr
2019-07-20 12:50:27 +02:00
pancake
b32a09db05 Update capstone v4 and next 2019-07-18 04:06:01 +02:00
GustavoLCR
ec67532e5d Fix Windows Build (#14512) 2019-07-08 12:40:48 +08:00
radare
dc0892a1a0
Towards emscripten build fix (update sdb) ##build 2019-07-07 16:52:41 +02:00
lzutao
7b7f069c9e mesonbuild: Backport to python 3.5 ##build
Python 3.5 (the lowest version that meson supports) has no f-String
but only old %-formatting and str.format().
2019-06-26 12:11:06 +02:00
pancake
d2c3065b9a Upgrade spp from git 2019-06-21 20:47:05 +02:00
pancake
6b634e2889 Upgrade capstone-next 2019-06-21 10:49:37 +02:00
pancake
30cee7811e Rename r_bin_file_set_cur_binfile_obj to r_bin_file_set_obj 2019-06-16 23:35:12 +02:00
Paul I
0fa82921b7 Split types-windows.sdb.txt and add cc info 2019-06-09 16:00:04 +02:00
pancake
0b7ad22f8c Upgrade capstone from git 2019-06-07 14:34:17 +02:00
GustavoLCR
7a10af4057 Initial implementation of heap parsing for Windows (#14218) ##debug 2019-06-05 15:20:38 -04:00
radare
581609fad2
Update capstone from Git (#14175) 2019-05-28 15:53:30 +02:00
pancake
5d3706bc3c Update capstone5 from git 2019-05-20 18:34:11 +02:00
Srimanta Barua
e951ba787f Wait ~10s for response to qSupported packet. Send another qSupported (#14104)
packet on timeout. Do this 5 times, and then bail out.
2019-05-19 16:39:57 +02:00
Sergi Àlvarez i Capilla
6b5905d4f4 Upgrade cs5 to fix the arm64 disasm crash 2019-05-15 15:56:00 +02:00
Riccardo Schirone
66f7403245 Rewrite the RBuffer API to make it safer and adjust the codebase ##refactor (#13656)
* Reimplement r_buf_fread/fwrite
* Add slice buffer and introduce readonly field
* Do nothing if size is 0
* Prevents an overflow when 8 is subtracted from size.
* Fix ragg2 when patching outside currently existing buffer
* Implement r_mem_mmap_resize for systems where mremap is not defined
* r_buf_buffer can be called with no size arg as well
* Use size_t instead of ut64
2019-05-15 15:34:06 +02:00
Óscar Carrasco
31e7cf517a Fix includes from to ignoring dir.types ##types 2019-05-15 08:46:43 +02:00
radare
8ea835076a
Upgrade capstone-next and v4 (#14074) 2019-05-15 08:45:21 +02:00
David CARLIER
a51233bb3f Few more memory leaks fixes (#14072) 2019-05-14 22:09:08 +02:00
radare
500d46f58c
Fix linking for Android ##build (#14067) 2019-05-14 15:01:36 +02:00
radare
c5f4266f45
Fix spp warnigs (#14059) 2019-05-14 01:38:17 +02:00
Khairul Azhar Kasmiran
8d2b16d74f r_str_prefix() -> r_str_prepend() (#14048) 2019-05-13 16:16:13 +02:00
pancake
59c59afedd Upgrade capstone to fix the xacquire x86-64 prefix 2019-05-13 15:30:15 +02:00
radare
4c87ee714e
Upgrade to use sdb 1.4.0 (#14045) 2019-05-13 11:10:33 +02:00
radare
12c824cfd1
Automatically choose wget/curl/git depending on availability ##build
* wget/curl downloads use CS_ARCHIVE
* Code cleanup in capstone.sh
2019-05-13 10:25:17 +02:00
pancake
6f565adc2d Update capstone v4 and next branches 2019-05-10 13:43:23 +02:00
Anton Kochkov
36e9d25068 Ability to download capstone git as zip 2019-05-10 09:49:05 +02:00
radare
bf5e302881
Add anal.ex option, cleanup and improve the Java support ##anal
* Current java implementation of the analysis is not working well
* RBin.Java doesnt updates the vsizes because it seems to break things. wip for another PR
* Added anal.ex option to use extensions or not
2019-05-08 18:26:11 +02:00
pancake
fca642d483 Fix capstone5 meson build 2019-05-07 13:19:22 +02:00