32310 Commits

Author SHA1 Message Date
pancake
9ca2c5695b Improve argument parsing logic for 'tail' ##shell 2024-07-12 15:45:11 +02:00
pancake
e2004f5c80 Fix the tail syscmd ##shell 2024-07-12 15:45:11 +02:00
pancake
b8198f18e9 Avoid ' in help message glitching book's md 2024-07-11 18:09:42 +02:00
pancake
ec4872e16a Python goes before Python2 in the rlang plugin now ##lang 2024-07-11 16:54:25 +02:00
satk0
3373b4b0b6
Add info about single module recompilation ##doc 2024-07-11 14:24:45 +02:00
pancake
33607b853e Initial support for the UXN machine ##arch 2024-07-11 01:00:08 +02:00
pancake
9d8fa62011
Add few missing arm64 fpu instructions for pseudo ##decompiler 2024-07-10 22:50:47 +02:00
pancake
4d2a8411ea
Run the native swift demangler tests on darwin-x64 too ##bin 2024-07-10 17:03:37 +02:00
Francesco Tamagni
4a6b2cd42f
Improve :iP command usability in dsc ##io 2024-07-10 12:57:05 +02:00
satk0
6923af97ef
Make duplicated zignatures optional via zign.dups + tests ##zignatures 2024-07-09 22:33:10 +02:00
pancake
8b0b92ad29 Initial support for RBin->RIO redirections ##bin 2024-07-09 22:09:09 +02:00
pancake
e4ea09f1c1
Early stop on corrupted macho method storage ##bin
* This situation should be catched earlier
* But it's easier to debug this way and loads faster
2024-07-09 21:32:01 +02:00
pancake
5a2a903d63
Early catch some missbehaves in the macho class parsing ##bin 2024-07-09 21:10:59 +02:00
pancake
81674a57ab Get rid of the deprecated macos-11 github targets ##ci 2024-07-09 19:18:50 +02:00
pancake
4ff5d41276 Better error handling in vvs ##visual 2024-07-09 19:18:35 +02:00
pancake
668984c309
Reuse R_PERM in RAnalVarAccess.type instead of custom enum ##analysis 2024-07-09 13:36:24 +02:00
pancake
c9b159c265
Implement r_base32 APIs for my future self ##api 2024-07-09 12:18:16 +02:00
pancake
d4df760594 Fix few instruction type issues for mips.gnu ##arch 2024-07-09 12:00:37 +02:00
pancake
7baf696fef
Make anal.vinfun false by default ##analysis 2024-07-09 11:28:30 +02:00
pancake
79d54c75e4 Fix memory leak in the dwarf parser and more uppercase macros 2024-07-09 10:53:59 +02:00
pancake
5ad29f409d
Show jmptbl bb cases in ab output (not just for abj) ##analysis 2024-07-08 23:24:06 +02:00
pancake
0780e6c60f
Initial support for MIPS jump tables (anal.jmp.tbl) ##analysis 2024-07-08 21:39:01 +02:00
pancake
740de07f86 Fix afv help to make it accessible through tghe af?* ##help 2024-07-07 17:08:14 +02:00
astralia
3382a3e231
Fix iej/ilj on ob* and remove ieee (use ie;iee instead) ##bin 2024-07-06 19:35:32 +02:00
pancake
c5c440439d
Fix #23093 - RStdin.slurp() on Windows ##windows 2024-07-06 10:26:31 +02:00
pancake
2c3f0cb757
Fix missing arm reference regression in aaaa ##analysis 2024-07-05 12:17:23 +02:00
pancake
8e37c73859
Refactor the io/oi commands and fix io behaviour ##io 2024-07-04 21:05:52 +02:00
Francesco Tamagni
560c02deac
Add iP command to dsc to get authenticated pointer info ##io
Add the iP command to the dsc io plugin, to get info about a Pointer. That draws information from the underlying rebase infos which are embedded in the pointer itself (whose semantics potentially changes over different maps), which otherwise gets lost as part of rebasing / pointer cleanup.

This is especially useful for getting info about pointer authentication, like the diversity and the key to use if there's any need to ever re-sign a pointer from the dyld cache.

The usage is :iP [size][@vaddr] if no size is provided defaults to 8, runs at current seek (or virtual seek if provided). The output is JSON only.

Example:

```
# this is how we see the pointer stored there normally
> pxq 8@0x1f242f210
0x1f242f210  0x00000001b972985c                       \.r.....

# and this digs the hidden metadata
> :iP @0x1f242f210~{}
[
  {
    "paddr": "0x707b7210",
    "raw": "0x8009b5883972985c",
    "format": "v3",
    "has_diversity": true,
    "diversity": 46472,
    "key": "ia"
  }
]
```

Experimental in the sense that it's quite naive and there's no guard against the user pointing it to an unaligned address for example, where the bits will be interpreted in the wrong way.
2024-07-04 18:51:07 +02:00
pancake
4536740a78
Rename ib as ooi ##shell 2024-07-04 16:47:37 +02:00
pancake
5928f46494
Store operations also deserve a place for asm.emu ##disasm 2024-07-03 18:20:34 +02:00
pancake
743297617f Expose missing cpus list in the ARM plugin ##arch 2024-07-03 18:12:06 +02:00
pancake
5ce3dcaa90
Fix drr - register periscoping on arm-thumb ##debug 2024-07-03 11:19:07 +02:00
pancake
53ba2a817d Fallback the default r2papi when not loaded from disk ##r2js 2024-07-02 13:39:00 +02:00
shurizzle
31d0fa300d
Fix the symbol parsing in Plan9 ##bin
* Skip symbol type 'Z'
* Use r_buf_read_at instead of r_buf_read8_at since UT8_MAX is a valid value
2024-07-02 13:31:30 +02:00
pancake
762088e87f
Update r2papi from git, use src from /tmp instead of npm ##r2js (#23082)
* Dont uglify or minify, sed is more reliable
* Fix h<tab> help message
2024-07-01 11:43:59 +02:00
pancake
14b4068db4 Honor numeric argument in q!! and simplify command logic ##shell 2024-07-01 09:38:47 +02:00
pancake
e7c95050b7 Fix TS usage by making the exports object point to globals ##lang 2024-07-01 09:21:53 +02:00
pancake
1b59e3990e Add R2_PAPI_SCRIPT env var for custom r2papi testing ##lang 2024-07-01 01:13:19 +02:00
pancake
bbd4ad0dd2 Fix huge allocation when casting int to ut64 ##crash 2024-06-30 18:48:59 +02:00
pancake
8e3a87264f
Better output for dL command ##debug 2024-06-29 08:45:04 +02:00
pancake
40784d3d92 Highlight code modifier ~:)) ##cons 2024-06-29 02:00:23 +02:00
pancake
13ea460b3e Do not check for updates when r2pm -r, -h and -H ##r2pm 2024-06-28 12:44:34 +02:00
pancake
253c9ae316 Add a warming help message under the help command ##shell 2024-06-28 12:30:52 +02:00
pancake
f731dff227 Fix appending redirection on internal alias files ##shell 2024-06-27 16:11:30 +02:00
pancake
e3137f62c3 Fix 'Cannot redirect the same fd twice' bug in the command parser ##shell 2024-06-27 12:52:48 +02:00
pancake
744f7f042b
Add manpage submenus under the Help ##panels 2024-06-26 18:53:18 +02:00
pancake
a541ec898b Fix a recently introduced uaf in pdc ##crash 2024-06-26 17:09:12 +02:00
pancake
c13ede0769 Fix null deref, memleaks and portability regression 2024-06-26 16:06:28 +02:00
pancake
2be3f7e373 Implement menu separators, project and analysis options ##panels 2024-06-26 16:06:28 +02:00
pancake
72fca8a5e6 Better key hints visualization ##panels 2024-06-26 16:06:28 +02:00