32310 Commits

Author SHA1 Message Date
Sylvain Pelissier
9edf6a6a98
Initial support for Ed25519 signatures ##crypto 2024-07-31 12:46:55 +02:00
Lars Haukli
82f6234beb
Fix aac on rebased files ##analysis
* Use r_bin_file_get_vaddr
2024-07-29 22:01:23 +01:00
Claudio Jeker
cdf4e18dd0
Adjust OpenBSD code to set the process state to be less wrong ##debug
Use the p_stat of the main thread to decide in which state the process is.
For multi-threaded applications this is still not quite correct but at
least this compiles on OpenBSD-current.

See also 290aac5691
2024-07-27 07:02:11 +01:00
meme
f6585839ee
Also compile for WASI reactor ##build 2024-07-24 19:51:44 +02:00
pancake
9c6a2a7858
Refactor 'aaa' into a separate command 2024-07-24 19:12:48 +02:00
Francesco Tamagni
da4f9e705d
Fix aae behaviour on invalid instructions ##analysis
This prevents a scenario in which an invalid instruction also
invalidated the next ones, causing missing references.
2024-07-23 23:02:18 +02:00
pancake
5eec711f58 Fix move cursor right with arrow keys issue in dietline ##shell 2024-07-23 16:21:47 +02:00
pancake
5170fd452b
Optimize RAnalOp.setBytes with extra sauce for NEWABI ##analysis 2024-07-23 10:32:31 +02:00
pancake
5dd8795850
Return earlier when bin.classes is false ##bin 2024-07-22 22:37:49 +02:00
pancake
c534ed6a71
Use callAt instead of cmdAt for section formats ##bin 2024-07-22 21:24:11 +02:00
Francesco Tamagni
a766ec884b Avoid over-unsetting fixed arch / bits ##core 2024-07-22 21:15:08 +02:00
pancake
a9215b1644 Add anal.fixed.* (move anal.gpfixed and add arch/bits ones) ##core 2024-07-22 18:30:58 +02:00
pancake
ad2908f65d Update sdb once again for wasi and ppcle reasons 2024-07-22 18:02:57 +02:00
Francesco Tamagni
2ba8d835fe Don't ask sections if fixed arch / bits set ##core
Avoids unnecessary iteration of all the sections to get the value of
bits and arch, in case they're fixed.
2024-07-22 17:43:04 +02:00
pancake
63241f1a05 Fix #23064 - Implemented iclc command ##bin 2024-07-22 15:47:39 +02:00
pancake
d7baeb6cce Remove 200 lines from tcc again 2024-07-21 21:25:47 +02:00
pancake
b635ccbde9 Fix parsing dmp binaries on big endian systems ##bin 2024-07-21 19:16:03 +02:00
pancake
26778a3fb2 Fix asm.emu derefenced word issue on big endian ##disasm 2024-07-21 18:34:17 +02:00
Xavi Artigas
a14cd58c44
Fix incorrect parsing of MZ headers in big-endian machines ##bin 2024-07-20 18:02:25 +02:00
Xavi Artigas
ec92a2394d
Fix improper display of IPv4 addresses in big-endian machines ##disasm 2024-07-20 17:37:18 +02:00
pancake
f27b53758f
Remove 300 lines from the libtcc again 2024-07-19 21:03:28 +02:00
Francesco Tamagni
8cf53fe582 Tweak the custom swift demangler and fix tests ##bin 2024-07-19 20:34:08 +02:00
Francesco Tamagni
b17424ec4a Fix Objective-C classes Swift demangling ##bin
And ensure all parsed classes have `index` set, to allow coexistence
of categories with the same name.
2024-07-19 20:34:08 +02:00
pancake
a8c981cc44 Support '0x, not just '@0x and improve "'?'" help ##shell 2024-07-19 16:22:24 +02:00
pancake
bd9567a1ea Fix null deref in ?iu 2024-07-19 15:52:33 +02:00
pancake
e86e84806b Fix help for 'abt?' ##analysis 2024-07-19 11:59:20 +02:00
Sylvain Pelissier
10f4c29dcf Display /h help 2024-07-18 22:03:44 +02:00
pancake
43cd79b92e Add Bit Registers panel ##visual 2024-07-18 21:05:01 +02:00
pancake
5882a5a13c
Initial implementation of ?iu for the onelinered custon UI ##visual 2024-07-18 21:01:08 +02:00
Richard Patel
f2536aa064 Support base64 encoded r2js scripts ##lang 2024-07-18 11:33:48 +02:00
pancake
d936bf6d9b
Fix #23110 - Improve the swift demangler to handle more constructions ##bin
* s9CryptoKit8Curve448O7SigningO9PublicKeyV16isValidSignature_3forSbx_q_t10Foundation12DataProtocolRzAjKR_r0_lF
* s9CryptoKit8Curve448O7SigningO9PublicKeyV17rawRepresentation10Foundation4DataVvg
* s9CryptoKit8Curve448O7SigningO10PrivateKeyV06publicF0AE06PublicF0VvpMV
* ...
2024-07-17 17:42:30 +02:00
pancake
8a58808a63 Add -D as an alias for iD ##shell 2024-07-17 16:29:15 +02:00
pancake
ac1ce58033 Fix last memleaks, simplify Vz to toggle folding basic blocks ##visual 2024-07-16 23:21:24 +02:00
pancake
10bb86f5bd Fix shift-tab and space behaviour in visual mode ##visual 2024-07-16 21:56:06 +02:00
pancake
d20d677037 Fix null deref in r2 -d l ##crash 2024-07-16 20:25:41 +02:00
pancake
64b996e549 Improved space key behaviour for the hexdump ##visual 2024-07-16 20:01:45 +02:00
pancake
219e429378 Improve the multiline comment user experience ##shell 2024-07-16 19:34:14 +02:00
pancake
d4917cb9ab
Honor codealign in nopskiHonor codealign in nopskip ##analysis 2024-07-16 19:08:26 +02:00
pancake
68a6bc4a3a Add support for parsing next zignatures ##zinatures 2024-07-16 18:59:55 +02:00
Richard Patel
c57330fedc Fix cwisstable on ppc-le ##build 2024-07-16 17:59:52 +02:00
pancake
4b53fd6450 More fixes from the noheapstring pr 2024-07-16 16:44:10 +02:00
pancake
f9f11d1e8a Fix last memleaks spotted by coverity 2024-07-16 12:53:21 +02:00
Francesco Tamagni
3ad8629fec Create sections for dyldcache stub islands ##bin
Modern multi-file caches clump all import stubs in "stub islands".
These live in specific stub-only subcaches which can be detected by
checking that they contain no images and have only one r-x mapping
which extends beyond the cache header page.

This change creates specific sections called STUB_ISLAND so that they
can be easily picked apart and emulated if needed.
2024-07-16 12:36:11 +02:00
Francesco Tamagni
8760ad4251 Set dyldcache entry point to the first map ##bin 2024-07-16 12:36:11 +02:00
Francesco Tamagni
717a7e28a6 Add :iF command to dsc ##io
To get information about what file is contributing the physical
address corresponding to the current seek. This is mostly useful for
multi-file caches.
2024-07-16 12:36:11 +02:00
pancake
186414f3aa
Minor code optimizations from the utf8heap pr 2024-07-13 15:18:10 +02:00
aviciano
19cf58b492
Initial support for the UF2 file format ##io 2024-07-13 14:54:44 +02:00
pancake
25a765fd25 Fix lint 2024-07-12 23:25:57 +02:00
pancake
bda4eb0832 Better parsing for the "join" command ##shell 2024-07-12 23:11:11 +02:00
pancake
7b435a6b8b Fix 'rm $foo' and '$foo+=N' ##shell 2024-07-12 22:59:26 +02:00