Commit Graph

4728 Commits

Author SHA1 Message Date
pancake
374178acfd
Fix harmless UB oobread in list command 2022-12-21 18:07:30 +01:00
pancake
b7f6d400c0 Make RReg refcounted ##api 2022-12-21 10:46:23 +01:00
pancake
67afeb55ad Working apt and add apl to list function preludes ##analysis 2022-12-20 19:52:40 +01:00
pancake
12bfb6b43f Initial support for threads in esil ##esil 2022-12-20 19:52:40 +01:00
pancake
12875deeb9 Add the arch.preludes() callback and new RSearchKeyword constructor ##arch 2022-12-18 23:24:44 +01:00
pancake
b2f14229e3 Move anal.v850 to arch ##arch 2022-12-18 23:24:40 +01:00
pancake
c5b7cc48a2 Introduce anal.tailcall.delta and use flags for better metrics ##analysis 2022-12-14 12:13:45 +01:00
pancake
3410de127a Improve the tailcall detection logic ##analysis
* Add missing RAnal.XrefType.JUMP.toString()
2022-12-14 12:13:45 +01:00
pancake
918f348107 Improve warning that only seems to happen when anal.nopskip is set ##analysis 2022-12-13 20:48:58 +01:00
pancake
97a6439055 Do the same for __WINDOWS__ -> R2__WINDOWS__ 2022-12-10 20:32:10 +01:00
pancake
27a5bf0157 Fix negative unsigned cast in the xtensa disassembler ##arch 2022-12-10 19:12:37 +01:00
pancake
3f08120ac1
Import the quickjs rlang plugin ##lang
* Fix 2 UB and 4 portability bugs in quickjs
2022-12-10 18:58:33 +01:00
pancake
d0c220238d
Add RAnalOp.weakbytes() and move more analop apis to arch ##arch 2022-12-09 18:42:56 +01:00
pancake
58dbbc7fb4
Move anal.xap into the arch ##arch 2022-12-08 16:03:31 +01:00
pancake
6896f6f6a7 Always show all the archinfo, even when not provided by the plug ##analysis 2022-12-08 15:06:41 +01:00
pancake
2630ef28cf Move anal.{6502,snes} into arch ##arch 2022-12-08 13:33:53 +01:00
pancake
062758594f Implement abo and afbo commands to list opcode offsets in function or bb ##shell 2022-12-08 00:09:07 +01:00
pancake
1a0b6a9abe
Kill RAsmOp, we can reuse RAnalOp in here ##arch 2022-12-07 14:30:22 +01:00
pancake
4bef862bd2 Improve pickle disasm on invalid instructions ##arch 2022-12-06 19:06:38 +01:00
pancake
4b769417e2
Remove RAsmPlugin struct and add the 'aia' command to show archinfo ##arch 2022-12-06 12:16:45 +01:00
pancake
ccb7351b5e
Merge RParse into RAsm ##api 2022-12-03 02:26:41 +01:00
pancake
07b5771f50 Minor plugin selection improvements ##arch 2022-12-02 12:07:09 +01:00
pancake
05947def03
Move the preincrement and void arg from tests to lint.sh ##syntax
* The regex was not correct, so it was missing a lot of cases
2022-11-30 17:13:32 +01:00
pancake
7ca2004fc9 Move the arm assembler plugin from asm to arch ##arch
* force 4 jobs in bin/d
2022-11-30 15:43:54 +01:00
pancake
0b145c5e40 Move the x86.nz plugin ##arch 2022-11-30 15:43:54 +01:00
condret
0d32c3748f Add esil.dfg.mapinfo and esil.dfg.maps config vars ##anal 2022-11-30 09:53:29 +01:00
pancake
d863d7159b
Move the RParse.cparse into RAnal.cparse ##refactor 2022-11-28 10:28:07 +01:00
pancake
37b279b6f4
Fix asm.acur supporting arch, anal and asm plugins ##arch
* Fix asm.acur supporting arch, anal and asm plugins ##arch

* Fixes the arch/bits combo selection order issue for riscv tests
* Move the riscv arch plugin to the new plugin structure
* Deprecate r_asm_setup ()
2022-11-26 17:49:10 +01:00
condret
6e351d0512 Some more improvements to esil_dfg ##anal 2022-11-26 15:15:19 +01:00
pancake
b0dee825c7 Massage the anal to get the plug in shape and make the tests happy 2022-11-25 23:32:41 +01:00
Murphy
75c2d8a1ac Move anal_riscv to arch_riscv ##arch 2022-11-25 23:32:41 +01:00
Dennis Goodlett
8ddbc2c55a Fix size returned from r_anal_op ##anal 2022-11-23 01:18:33 +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
pancake
ddda012afc
Introduce RSysBits and its packing/checking macros ##arch 2022-11-21 13:16:36 +01:00
pancake
8b43d97fcf Implement archinfo() in RAnal.Plugin.tms320 ##arch 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
a79add6dff
Update sdb to remove double include paths ##build
* Updated pkg-config paths
2022-11-19 01:05:18 +01:00
pancake
81781665fe
Moving more logic between asm, arch, parse and anal ##api 2022-11-18 03:02:24 +01:00
pancake
6ca9edb1ce Fix warning in aflj when parsing vargarg signatures ##anal 2022-11-17 21:23:32 +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
condret
54a9c52715 Use treebuf io plugin as memory access backed for esil_dfg ##anal 2022-11-16 18:57:33 +01:00
Lars Haukli
b680675d16 Fix subkey removal 2022-11-15 19:12:15 +01:00
pancake
be9c20ce76
Move anal.rsp to the new home ##arch 2022-11-15 13:23:55 +01:00
pancake
9243a98ae7
Move anal.v810 into arch.v810 ##arch 2022-11-14 23:45:59 +01:00
pancake
fb7326b64a Move pickle from anal to arch and add it to meson ##arch 2022-11-13 23:03:42 +01:00
pancake
46e25f8844 Remove anal.malbolge and fix CI r_esil issues ##arch 2022-11-13 22:38:58 +01:00
pancake
cded4df114 Move anal.esil into the new esil ##esil 2022-11-13 22:38:58 +01:00