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
Lowly Worm
fc3ec317ec
add support for apple debugserver on amd64
2019-01-20 17:52:35 -08:00
GustavoLCR
d3d0d6db24
Implement sdb_js0n() without GNUC weirdness ( #12829 )
2019-01-18 11:28:56 +01:00
Riccardo Schirone
adab5e4302
Update SDB code and use ht_update_key API in RFlag ( #12804 )
2019-01-16 16:57:19 +01:00
dav1901
37ea17d1a2
Minor code cleanups/fixes ( #12714 )
2019-01-09 22:06:12 +01:00
Paul I
2b8ce91c9d
Meson: Update capstone ( #12669 )
2019-01-06 13:45:48 +01:00
radare
bd84d0a83d
Update capstone again ( #12659 )
2019-01-05 15:28:12 +01:00
David CARLIER
ba83760f94
Various little code cleanup/ib fix proposal. ( #12640 )
...
Proposal to fix ib DF issue.
2019-01-04 14:05:16 +01:00
dav1901
ceeb25ce49
Minor code cleanups/fixes ( #12595 )
...
* Minor code cleanups/fixes
* use r_base64_encode_dyn
* Fix clang-analyzer warning(uninit var)
2019-01-03 00:30:06 +01:00
David CARLIER
2eb706029c
Few code/cleanups mem leaks potential ( #12591 )
2018-12-31 00:21:47 +01:00
radare
c9e87787f1
Initial support for 6502 with Capstone ##disasm
2018-12-29 16:22:08 +01:00
GustavoLCR
7530895d0a
Fix a few clang scan-build bugs ( #12562 )
...
* Removed unnecessary variable from libr/core/disasm.c
* Removed not necessary assignment in libr/core/casm.c
* Removed not used assignment in libr/bin/dwarf.c
* Rem. duplicate declaration and not used values
* Fixed potential memory leak in java/class.c
* Fixed potential memory leak in ragg2
* Removed unnecessary variable in visual.c
* Another potential memory leak in class.c
* Removed not used value assignment
* Fixed memory leak in dwarf.c
* Removed not needed assignments
* Remove more not used assignments
* Refactored where bin_sections gets arch & bits for clarity
* Removed more assignments that are not used
* Rem. more unused assignments
* Surround assignment with paranthesis
2018-12-26 12:54:12 +01:00
Anton Kochkov
930dfcd110
Switch to capstone 4.1 [meson]
2018-12-24 17:00:42 +08:00
radare
f924f8bc3f
Switch to capstone 4.1 ( #12549 )
2018-12-24 09:23:43 +01:00
dav1901
f24556c189
Fix few clang-analyzer warnings ( #12548 )
2018-12-24 01:18:12 +01:00
Florian Märkl
71e921b50f
Sync SDB ( #12547 )
2018-12-23 18:44:56 +01:00
dav1901
21861d185a
Remove unnecessary break ( #12538 )
2018-12-21 23:41:18 +01:00
dav1901
303a57bb85
Minor code cleanups/fixes ( #12519 )
2018-12-20 11:50:29 +01:00
dav1901
0a65d76eb8
Minor cleanups/fixes
2018-12-18 16:26:17 +01:00
iamahuman
7f380ae78d
Make SPP less dependent on system(3) and popen(3)
2018-12-15 18:32:24 +01:00
pancake
fd2acacd2d
Fix build
2018-12-15 17:36:26 +01:00
pancake
161f014369
Remove noisy warning in iso9660
2018-12-15 16:04:59 +01:00
pancake
f2c06575d8
Fix #12479 - negative disk_reads may not be allowed ##crash
2018-12-15 13:01:35 +01:00
dav1901
5b644dcb74
Minor cleanups/fixes ( #12478 )
2018-12-14 00:17:50 +01:00
radare
3fc815e755
Update capstone ( #12470 )
2018-12-13 01:09:01 +01:00
dav1901
3a24f6d8a1
Minor cleanups/fixes ( #12467 )
2018-12-12 22:02:32 +01:00
dav1901
97b94b3f94
Fix more clang warnings ( #12458 )
2018-12-12 12:22:36 +01:00
dav1901
024d65e288
Fix few more clang warnings ( #12429 )
2018-12-11 10:28:01 +01:00
dav1901
9a91f96101
Fix realloc misusages ( #12433 )
2018-12-10 11:56:12 +01:00
David CARLIER
3aed538f7b
Fiximg little clang warnings in various places. ( #12439 )
2018-12-10 11:55:35 +01:00
David CARLIER
7bf0380e77
Further clang warning fixes ( #12416 )
2018-12-06 17:00:08 +01:00
dav1901
b88806f65f
Fix more clang-analyzer warnings ( #12424 )
2018-12-06 16:55:09 +01:00
David CARLIER
2cd65e45b1
Fix couple of clang warnings/java plugin ( #12404 )
2018-12-06 15:19:58 +01:00
dav1901
ab17935659
Fix clang warnings ( #12413 )
2018-12-05 12:35:37 +01:00
dav1901
cdaa507e15
Fix more clangs ( #12399 )
2018-12-04 16:09:18 +01:00
radare
a3d181a8a0
Fixes spotted by clang-analyzer ( #12391 )
2018-12-04 10:45:46 +01:00
pancake
dfd3be3e48
Update the tiled webui from radare2-webui (just new dependencies)
2018-11-29 16:53:18 +01:00
David CARLIER
260a9e64cc
Couple of leak fixes, div by zero avoidance. ( #12338 )
2018-11-27 15:46:56 +01:00
pancake
d7a7e9e57c
Define __R2TINYC__ in our tcc fork
2018-11-26 01:36:17 +01:00
dav1901
a6b44e03fe
Fix warnings ( #12309 )
2018-11-25 01:46:57 +01:00
radare
d05292e485
Fix 80 warnings coming from gcc8.2 ( #12280 )
2018-11-22 22:11:43 +01:00
David CARLIER
74da0eb115
Few grub/bochs fixes
2018-11-22 12:12:11 +01:00
Riccardo Schirone
f4bf35cc16
sync sdb to a3463734c6d656ab174b32ba0b64e77475edae29 ( #12244 )
2018-11-20 16:50:28 +01:00
Florian Märkl
7c0687b8fb
Fix #12022 - Slow backtrace fixed by speeding up ptrace_wrap_func() ##debug
2018-11-20 01:13:30 +01:00
dav1901
8e7aea3198
Minor cleanups ( #12231 )
2018-11-19 22:55:34 +01:00
pancake
53635d59a0
Fix #12141 - minor leaks in grub code
2018-11-19 12:14:01 +01:00
dav1901
558a79cae7
Fix few minor leaks and remove dead code ( #12201 )
2018-11-17 18:19:04 +01:00
dav1901
c1f30de193
Minor code cleanups free/R_FREE ( #12157 )
2018-11-14 21:23:20 +01:00
Riccardo Schirone
f77ecfb357
Upgrade SDB and use the new HtPP, HtUP, HtUU ##refactoring
...
* sdb-sync: update to commit ea05ca8808605daa683a2b35f143e24c3a70f0c9
2018-11-14 10:47:28 +01:00
dav1901
dfb9b0e5ae
Fix minor leaks in ufs and mz
2018-11-14 01:57:23 +01:00
dav1901
8b83d03c99
Minor code cleanups free/R_FREE ( #12145 )
2018-11-13 23:41:28 +01:00
Anton Kochkov
8bc369ef3f
Move CS_TIP to aquynh/capstone@f01c267f
2018-11-13 18:05:33 +08:00
dav1901
9b0fbf1ee4
Minor code cleanups - free/R_FREE/etc
2018-11-13 00:23:49 +01:00
David CARLIER
6c5d98b45c
Fix grub minix plugin build. ( #12131 )
...
Using wrapper instead, and might be safe anyway
in case allocators impl change.
2018-11-12 16:57:16 +01:00
Young-X
99641414fd
Fix multiple potential vulnerabilities ( #12113 )
...
* bin_xtr_fatmach0.c: fix memory leak in function extractall
Signed-off-by: Young_X <YangX92@hotmail.com>
* check return value of r_list_newf in function oneshotall
Signed-off-by: Young_X <YangX92@hotmail.com>
* ufs: prevent memory leak
Signed-off-by: Young_X <YangX92@hotmail.com>
* minix: prevent memory leak
Signed-off-by: Young_X <YangX92@hotmail.com>
* jfs: fix memory leak in grub_js_find_file
Signed-off-by: Young_X <YangX92@hotmail.com>
* r_anal_plugin_free: fix null pointer deference for para a
Signed-off-by: Young_X <YangX92@hotmail.com>
* fix null pointer deference in function fix_back_edge_dummy_nodes
since ptr from and to may be NULL
Signed-off-by: Young_X <YangX92@hotmail.com>
2018-11-12 12:08:24 +01:00
Lowly Worm
077b341a16
explicitly sign all bitfields
2018-11-11 16:10:15 -08:00
radare
71053f17e9
Move trie, mixed, slist into Sdb's Attic, and DES from util to crypto ##refactor
2018-11-07 17:18:14 +01:00
pancake
3738a97623
Fix several asserts and crashes when loading invalid reg profiles
2018-11-05 16:55:34 +01:00
lzutao
c42eb07241
Fix shellcheck warnings in capstone.sh
2018-11-05 14:00:33 +01:00