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
radare
869b698c1c
Enable capstone5 at configure time option ##disasm
...
* Add --with-capstone5 configure flag
* Add use_capstone5 meson option
2019-05-07 12:47:27 +02:00
Riccardo Schirone
820e3dbe73
Improve r_buf_buffer and remove r_buf_get_at ( #13676 )
...
* Make r_buf_buffer return a ut8 and the associated size of the buffer
* Remove r_buf_get_at uses and make it static
2019-04-15 13:24:15 +02:00
radare
dba7a43f1d
Rollback to capstone4 until all bugs get fixed
2019-04-12 16:13:35 +02:00
pancake
e7d705fbd0
Fix meson build of capstone
2019-04-12 13:10:18 +02:00
radare
0ed7742073
Update capstone to use the NEXT branch ##disasm
2019-04-12 11:24:08 +02:00
radare
3c41cb7d7e
Another tcc crash fixed ( #13599 )
2019-04-01 03:37:39 +02:00
radare
7ffa72aaed
Fix #13552 - Crashes in tcc parser ( #13566 )
2019-03-31 00:32:14 +01:00
Anton Kochkov
bd9eb0138b
Add ut*/st* type shortcuts ( #13550 )
2019-03-29 08:22:55 -05:00
Riccardo Schirone
3f4580b031
Make buf field private in RBuffer ( #13473 )
...
* Fix pemixed build (and include it in meson build)
* Do not use base_priv in yank, it was wrongly used.
2019-03-26 20:32:53 +01:00
radare
f6457c96aa
Update capstone-master ( #13496 )
2019-03-25 10:56:54 +01:00
Wladimir J. van der Laan
f4eac702d4
Fix build on newer RISC-V compilers ( #13459 )
...
On gcc 9.x, `__riscv__` is no longer defined but `__riscv` is.
This is documented under C/C++ preprocessor definitions on
https://github.com/riscv/riscv-toolchain-conventions
2019-03-22 09:46:01 +01:00
Riccardo Schirone
b0ac77881e
Make other RBuffer fields "private" ( #13444 )
...
* Use r_buf_size to get the size of a buffer, not the private field
* Use r_buf_seek instead of adjusting the private cur RBuffer field
* use r_buf_read instead of r_buf_read_at(.., cur, ..)
* other r_buf_read_at/r_buf_read
* Fix RBuffer usage in REgg
* Wrong replace with r_buf_resize
* Other r_buf_resize fixes
* style fixes
* other style fixes
* Introduce r_buf_tell API instead of using seek
* other style fixes
* style
* style 2
* write_at(cur) == write
* fixes
* avoid changing test
* Make most RBuffer fields private
* Add some fixme comments
* still use base_priv in some places
2019-03-20 19:01:26 +01:00
radare
e04f31a313
Completely kill the msvc/ directory and the unix-specific includes workarounds
2019-03-19 17:34:02 +01:00
wangcong
b22d03613e
Improve Makefile on macOS ( #13431 )
...
`OS` can have already be set to other values on user machines, `OS=` fits better here.
2019-03-19 11:43:13 +01:00
Anton Kochkov
89f6646bac
Fix Meson build
2019-03-18 18:24:27 +08:00
pancake
08aec4a431
Update sdb from git
2019-03-18 10:38:00 +01:00
GustavoLCR
3fba693b91
Add support for UTF console input in Windows ( #13338 ) ##windows
...
* Add support for UTF console input in Windows
* Convert ANSI input to UTF-8
* Convert UTF-8 to acp when calling ANSI version of functions
* Determine if Windows console output is UTF-8 on the fly
2019-03-18 16:05:38 +08:00
Riccardo Schirone
0948f9536b
Use r_buf_size to get the size of a buffer, not the private field ( #13380 )
...
* Use r_buf_size to get the size of a buffer, not the private field
* Use r_buf_seek instead of adjusting the private cur RBuffer field
* use r_buf_read instead of r_buf_read_at(.., cur, ..)
* Fix RBuffer usage in REgg
* Introduce r_buf_tell API instead of using seek
* write_at(cur) == write
2019-03-15 20:28:52 +01:00
Anton Kochkov
bb67b54f74
Remove CYGWIN & MINGW remnants ( #13377 )
2019-03-15 12:55:08 +08:00
radare
9740af7270
Update sdb ( #13373 )
2019-03-14 01:04:26 +01:00
pancake
a4dea9f266
Update capstone from git
2019-03-11 23:26:00 +01:00
Jörg Thalheim
8dbc4f4ebe
Fix offline build: Remove duplicated curl line ##build
...
If the user already provides a capstone tarball, the buildsystem should not try
to download it again.
2019-02-21 10:20:55 +01:00
pancake
c5c93e6ff4
Upgrade capstone-master
2019-02-18 22:00:44 +01:00
radare
6290e4ff4c
Fix #13087 - Automatic NORELEASE mode, use curl if no wget ##build
2019-02-18 19:38:55 +01:00
radare
5c7eb0bb7c
Address comments in #13094 related to maxbbsize and maxfcnsize ##anal ( #13102 )
2019-02-16 12:11:13 +01:00
pancake
936efa6344
Upgrade sdb
2019-02-16 11:42:18 +01:00
radare
99fecb05c7
Fix capstone cloning and patching issues again ##build
2019-02-15 18:12:34 +01:00
pancake
821a533745
Fix x86 capstone patch
2019-02-13 23:23:48 +01:00
Anton Kochkov
3380ab8c64
Unwind capstone to safe commit
2019-02-14 01:01:02 +08:00
pancake
6d4b355990
Solve java regression
2019-02-13 16:46:31 +01:00
pancake
c3339b8f81
Fix #13067 - Crash in the java parser (java-read-off-by-one)
2019-02-13 15:04:58 +01:00
dav1901
3c654cf3dd
Fix null-pointer dereference ( #13074 )
2019-02-13 09:16:31 +01:00
pancake
7f8495dea7
Fix some crappy regressions in capstone.sh
2019-02-11 16:15:23 +01:00
pancake
b30e7d1923
Upgrade capstone
2019-02-11 16:05:04 +01:00
Anton Kochkov
54f841a4d3
Small TCC bitfields parsing fix
2019-02-08 15:05:18 +08:00
Khairul Kasmiran
808c512325
Remove commented anon_sym init in tcc_compile()
2019-02-07 20:16:45 +08:00
Khairul Azhar Kasmiran
0f9e3beb9b
Support typedef to anonymous struct in more than 1 header ##types
2019-02-07 12:40:05 +01:00
Khairul Azhar Kasmiran
b4178702c8
Support typedef'd (anonymous) structs ##types
2019-02-06 22:08:50 +01:00
GustavoLCR
06ad8f651f
Fix hfs mounting for Windows ##fs
2019-02-04 13:06:53 -06:00
Maijin
e24612ac41
Switch to capstone master in Meson
2019-01-22 11:57:21 +01:00
pancake
0d5e0a0cdb
Switch to capstone master 🤪
2019-01-22 10:34:56 +01:00
Lowly Worm
b08199cf6d
rm stupid debug printf
2019-01-20 17:53:11 -08:00