Commit Graph

25198 Commits

Author SHA1 Message Date
Murphy
75c2d8a1ac Move anal_riscv to arch_riscv ##arch 2022-11-25 23:32:41 +01:00
pancake
bcfcf84125 Fix r2 -2 ##tools 2022-11-25 12:48:10 +01:00
pancake
5f75a06969 Honor EDITOR in r2pm -e ##r2pm 2022-11-25 11:09:12 +01:00
pancake
98f53e34ad Fixes for the line editor using live save/load with new RFile apis ##shell 2022-11-25 11:09:12 +01:00
pancake
0ae427cd26 Implement r2pm -e to edit package scripts 2022-11-25 11:09:12 +01:00
pancake
5cbd085902 Implement oe command to open a file using cfg.editor ##shell 2022-11-25 11:09:12 +01:00
pancake
db225c212d Fix null deref on main router inside the r2 shell 2022-11-25 08:18:08 +01:00
pancake
bd66e06dff Add quiet and table listing for lang plugins ##shell
* See Llj Llq #!?q
2022-11-25 08:18:08 +01:00
pancake
a935629aae Implement Ll, Llq and #!?q commands for better rlang listing ##shell 2022-11-25 00:19:14 +01:00
pancake
93c5a89b07 Fix UAF in aaft when the BB is removed during the loop ##crash
* reproducer: $ r2 -c 'aaaa;o /bin/ls;aaaa;o /bin/sleep;aaaa' Twitter
2022-11-24 12:25:48 +01:00
pancake
aa536ce554 Speedup tcc builds by not using -g ##build 2022-11-23 11:22:43 +01:00
Dennis Goodlett
8ddbc2c55a Fix size returned from r_anal_op ##anal 2022-11-23 01:18:33 +01:00
pancake
67a5f8589e Fix r2 /directory behaviour ##shell 2022-11-23 01:05:17 +01:00
pancake
8cebdb5f20 Fix rasm2 -LLL using the new multi-bits macros ##arch 2022-11-22 18:38:55 +01:00
pancake
f39eeb7f3f Support $r:REGNAME syntax and document it ##shell
* $r:PC is the same as $r{PC}
* Also handle @r{PC} in sync with current syntax @r:PC
2022-11-22 13:01:12 +01:00
pancake
23dfc35b96
Remove all the references to the old r2pm.sh ##r2pm 2022-11-22 12:19:49 +01:00
Sylvain Pelissier
4bd482f4c9
Add ASN1 Algorithm Identifiers for Edwards curves ##print 2022-11-22 11:00:14 +01:00
pancake
7a195eab2a Fix null deref on wrong api usage for RCore.cmdStr ##api 2022-11-22 08:28:40 +01:00
pancake
7363499cf4
omfg runs omm if no map is set ##io 2022-11-22 03:03:54 +01:00
pancake
60e2d53b2c
Fix char auto-comment in cmp instructions ##disasm 2022-11-22 00:51:13 +01:00
pancake
515c12fa73 Fix #21052 - wrong emulation for pop rsp ##esil
* Reported by @ni7r0x with reproducer script
* Add tests for 32 and 64 bits
2022-11-21 23:55:10 +01:00
Sylvain Pelissier
f215ff2a84
Fix #20993 - Correct ASN.1 BIT_STRING parsing ##print 2022-11-21 23:46:36 +01:00
pancake
f09557c7f8
Fix #14540 - klass->super must be an RList instead of char* ##bin 2022-11-21 19:26:29 +01:00
pancake
ddda012afc
Introduce RSysBits and its packing/checking macros ##arch 2022-11-21 13:16:36 +01:00
pancake
fa61de6f0e Remove some decoder leftovers from rarch 2022-11-21 12:32:18 +01:00
Hors
ff633c00ad Support for Xbox 360 PE32 architecture (PPC BE) ##bin
* Code inspired in rizin's 3a291799474a9c23662c5e3e936141bfccd49094
2022-11-21 12:14:47 +01:00
pancake
9a8f7413e4
Deprecate more unused fields from RAsmPlugin ##asm 2022-11-21 12:04:46 +01:00
pancake
ab4feb6c15
Fix the parse.z80.pseudo plugin and add a test ##asm 2022-11-21 09:56:43 +01:00
pancake
8b43d97fcf Implement archinfo() in RAnal.Plugin.tms320 ##arch 2022-11-21 03:03:19 +01:00
pancake
0373120576 Deprecate the unused RArchPlugin.esil field ##arch 2022-11-21 03:03:19 +01:00
pancake
5fdd623429 Move esil one level up in libs.mk ##build 2022-11-21 03:03:19 +01:00
pancake
934102ca94 Use PJ to return the list of mnemonics aoml in arm.v35 ##arch 2022-11-21 03:03:19 +01:00
pancake
1b7e6a59b9 Remove the unused RAsm.binb ##asm 2022-11-21 03:03:19 +01:00
Ernest Deák (Tino)
f81c7dee37
Fixed incorrect thread arena output ##debug
When issuing dmha, often times the output
would include thousands of lines saying the
thread arena is 0xffffffffffffff.
This commit introduces a simple check of
GHT_MAX that aborts printing if the thread
arena is equal to that number. I assume
those pointers are incorrect anyway.
2022-11-20 12:55:12 +01:00
Mohamed Lemine Ould El-Hadj
6c28822d73 Make j/k movement in panels' cursor mode more consistent with it's visual counterpart ##visual
* Fixes issue where 'k' goes up two rows instead of one
* Previously moving offscreen with 'j/k' would lead to weird behaviour (getting 'blocked', panel not refreshing), this fixes that as well
2022-11-20 11:40:06 +01:00
pancake
f68bd7a7a9 Fix assert in r2 -ci. -- 2022-11-19 12:55:51 +01:00
pancake
d6da13a940
Minor indentation fixes in esil.c 2022-11-19 11:40:51 +01:00
pancake
2b36c54ba2
Fix wrong detection of main in elf-arm32 ##bin 2022-11-19 03:11:56 +01:00
pancake
a79add6dff
Update sdb to remove double include paths ##build
* Updated pkg-config paths
2022-11-19 01:05:18 +01:00
pancake
b05abf9578 Implement pcn command to print bytes as space separated numbers ##print 2022-11-19 00:14:43 +01:00
pancake
f05b4e2eba Fix rabin2 -gj and add tests ##bin 2022-11-18 11:56:59 +01:00
pancake
81781665fe
Moving more logic between asm, arch, parse and anal ##api 2022-11-18 03:02:24 +01:00
pancake
2c0d35bcad
Implement cmd.usr1 and cmd.usr2 to handle signals on unix ##shell 2022-11-18 02:18:26 +01:00
pancake
ac593f78c6 Add #!qjs and #!tiny for autocompletion ##shell 2022-11-17 21:27:43 +01:00
pancake
6ca9edb1ce Fix warning in aflj when parsing vargarg signatures ##anal 2022-11-17 21:23:32 +01:00
pancake
d1388c6d8b Internal cleanup of asm.c, deprecate the disassembly callback ##asm 2022-11-17 12:07:08 +01:00
pancake
dcda35bcba
RAnalEsil -> REsil api refactor ##api 2022-11-17 10:22:55 +01:00
condret
17e9d62dc6 Add register computed const pointer support for esil dfg ##anal 2022-11-16 18:57:43 +01:00
condret
1e7a6f0ace Add memory computed const pointer support for esil dfg ##anal 2022-11-16 18:57:40 +01:00
condret
e1a88bb22f Introduce R_ANAL_ESIL_DFG_TAG_{REG,MEM} ##anal 2022-11-16 18:57:37 +01:00