Commit Graph

28569 Commits

Author SHA1 Message Date
condret
2793e74b1f Revert "Disable the esil-dfg unit tests"
This reverts commit f767f7fb3e.
2022-08-18 09:38:29 +02:00
pancake
048f730ee9 Lowercase all pickle instructions ##arch
* There's asm.ucase to tweak this
2022-08-18 09:38:00 +02:00
pancake
d93330479d Fix debugger build 2022-08-18 09:36:41 +02:00
condret
25924c3c8e Merge asm_arm_cs disassembler into anal_arm_cs ##refactor 2022-08-18 05:11:06 +02:00
pancake
0cb57b6742 Use p8x and remove pcj from visual list ##visual 2022-08-18 01:32:07 +02:00
pancake
6d46f10664 Implement p8x and p8* similar to y* ##print 2022-08-18 01:31:24 +02:00
pancake
e4e4ecc605 Add lint for ';;$' and remove strncmp from io plugins 2022-08-18 00:11:36 +02:00
Dennis Goodlett
1c5f423de1 Fix NULL deref in rasm2 on pickles 2022-08-17 23:41:43 +02:00
pancake
fa815fdbb1 Use R_LOG instead of eprintf in more places 2022-08-17 23:29:24 +02:00
pancake
dfb3504126 Initial implementation of the xattr io plugin ##io 2022-08-17 23:18:11 +02:00
pancake
a665f7fef3 Fix oob write in dyldcache ##crash
* When n_slide_infos is too high, the sum would overflow and few entries will be allocated
* Inpired in 556ca2f9ee
2022-08-17 22:40:28 +02:00
pancake
43442e8e1d Support powerpc coffs ##bin 2022-08-17 21:49:34 +02:00
pancake
d6e42b8728
Update zlib from 1.2.9 to 1.2.12
* Fixes a bunch of bugs spotted by coverity as well as other CVEs reported in the last update
2022-08-16 18:00:40 +02:00
pancake
5a16cbc3b1 Fix last covs 2022-08-16 17:50:00 +02:00
Dennis Goodlett
8b796b216d
Refactor esil new in cmd_anal ##anal
* Replace cmd_anal repeated code refactor
* Use new static esil_setup_from_core in cmd_anal
* Combine functions to r_esil_new_setup

Co-authored-by: Dennis Goodlett <dennis@hurricanelabs.com>
2022-08-16 09:17:52 +02:00
pancake
aa990230cc Lint for col0 eprintfs 2022-08-15 18:28:07 +02:00
pancake
8c66266e99 Lint for trailing spaces 2022-08-15 18:21:18 +02:00
pancake
63047fc2ff
Use R_LOG in util/json_parser.c 2022-08-14 21:25:18 +02:00
pancake
519b2487bb
Initial blind support for io.self for serenity ##debug 2022-08-14 21:07:51 +02:00
pancake
0239a265cd Fix warnings spotted by last gcc in cmd_anal.c 2022-08-14 21:07:19 +02:00
pancake
0b9e86e989 Fix issues found by last gcc in cmd_anal.c 2022-08-14 21:06:15 +02:00
pancake
16c30b61c1 Use : instead of =! in all the io plugin help messages ##shell 2022-08-14 20:02:16 +02:00
pancake
c15315e0e3 Fix debugger build for SerenityOS 2022-08-14 20:00:18 +02:00
pancake
620c3fa3dd Fix (null) license on r2 -L 2022-08-14 19:19:31 +02:00
pancake
93a1a1a70b Fix io.self build on serenityos 2022-08-14 19:13:57 +02:00
pancake
1c2f43dcb9 Let a->cur be null and honor host endian by default 2022-08-14 19:00:33 +02:00
Dennis Goodlett
8488630478 Fix R_LOG lint 2022-08-14 12:25:32 +02:00
Dennis Goodlett
cd261aa787 Refactor ar set command to static func ##anal 2022-08-14 12:25:32 +02:00
pancake
278b6b51b7 Fix memleak on -Cj failure 2022-08-12 17:24:09 +02:00
pancake
70af275629 Fix UAF, probably re-introducing a memleak 2022-08-12 15:36:06 +02:00
pancake
cb3ccdd9ab
Handle RABIN2_MACHO_SKIPFIXUPS env var in the macho parser ##bin 2022-08-11 02:20:20 +02:00
Denis Ovsienko
2c0951d44c Add a few tests for cBPF conditional jumps. ##tests
This should cover the recent bugfix for unsigned jump offsets.
2022-08-10 09:23:39 +02:00
pancake
db7741247e Fix autocompletion for :.<tab> for r2frida ##shell 2022-08-09 20:50:16 +02:00
Paul B Mahol
9854d41cc2 Fix '/gg' output ##anal
Add also tests.
2022-08-09 20:41:05 +02:00
Paul B Mahol
326ba3592b Fix leaks when calling r_flag_all_list() ##core 2022-08-09 20:41:05 +02:00
Seunghwan Chun
c67c47ed73 Fix duplicate aarch64 syscalls ##analysis 2022-08-09 20:40:45 +02:00
Dennis Goodlett
6bc75331da
Add wasm globals to symbols ##bin 2022-08-09 09:32:39 +02:00
Dennis Goodlett
ff475c5b9b Remove duplicate wasm test 2022-08-09 09:31:41 +02:00
Sylvain Pelissier
5abc76e288
Add SM4 block cipher ##crypto 2022-08-08 19:23:33 +02:00
Paul B Mahol
2853c85fc2 Fix 'num' display with gentoo theme on 256 term ##cons 2022-08-08 19:23:09 +02:00
Paul B Mahol
6f7840a8ec Add to all themes 'ecd' at start ##cons
Ensures defined behaviour when switching themes,
otherwise theme would take colors for missinge entries
from previous/next theme.
Most evident in VE mode when switching between themes.
2022-08-08 19:23:09 +02:00
Paul B Mahol
b8605f9a44 Remove duplicate entry for basic theme ##cons 2022-08-08 19:23:09 +02:00
Paul B Mahol
d703818be6 Fix background color for dark theme ##cons 2022-08-08 19:23:09 +02:00
Paul B Mahol
6b28daadb2 Simplify ansi color mapping ##cons 2022-08-08 19:23:09 +02:00
Paul B Mahol
090bba7945 Fix several bugs when interacting in VE mode ##cons
No need to handle non-truecolor mode separately,
there is conversion internally to lesser formats.
Also conversion was wrong, using lower bits instead
of higher bits.

Disallow setting colors to fully black foreground and
background, this is so user does not shot itself in foot
by having to restart r2 because some items become invisible.

Limit opt to sensible values, prevent bad user experience.
2022-08-08 19:23:09 +02:00
Paul B Mahol
454e8c61ab Fix leak in nextpal() ##cons 2022-08-08 19:23:09 +02:00
Paul B Mahol
1bcc3670a7 Fix leaks in VE mode ##cons 2022-08-08 19:23:09 +02:00
Paul B Mahol
c163b3a715 Fix leak of memory returned by r_str_ansi_crop() ##cons 2022-08-08 19:22:49 +02:00
Paul B Mahol
b4d929f2c4 Check for RGraph in r_graph_free() ##util 2022-08-08 19:22:49 +02:00
pancake
c0d3c226f1 Enable emulation in /as, it's fast enough and results are better ##search
* Use x16 on macOS and x8 on Linux
* Add test against glibc
2022-08-07 18:42:10 +02:00