Skip to content

Commit

Permalink
Overall modernization:
Browse files Browse the repository at this point in the history
- Introduce RzArch like plugin architecture.
- Update instruction set: v5-v67 + HVX.
- Set more analysis data.
- Fix several disassembly and analysis bugs.
- Add basic reloc patching.
- Enable immediate search.
- Add several formatting options for the produced disassembly.
- Mark packets of instructions.
- Add system instructions and registers.
  • Loading branch information
Rot127 committed Nov 26, 2021
1 parent ba5adf0 commit 2c00b89
Show file tree
Hide file tree
Showing 27 changed files with 104,980 additions and 50,471 deletions.
1,817 changes: 0 additions & 1,817 deletions librz/analysis/arch/hexagon/hexagon_analysis.c

This file was deleted.

4 changes: 0 additions & 4 deletions librz/analysis/arch/hexagon/hexagon_analysis.h

This file was deleted.

20 changes: 20 additions & 0 deletions librz/analysis/d/cc-hexagon-32.sdb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,23 @@ cc.hexagon.arg4=r4
cc.hexagon.arg5=r5
cc.hexagon.argn=stack_rev
cc.hexagon.ret=r0

hvx=cc
cc.hvx.name=hvx
cc.hvx.arg0=v0
cc.hvx.arg1=v1
cc.hvx.arg2=v2
cc.hvx.arg3=v3
cc.hvx.arg4=v4
cc.hvx.arg5=v5
cc.hvx.arg6=v6
cc.hvx.arg7=v7
cc.hvx.arg8=v8
cc.hvx.arg9=v9
cc.hvx.arg10=v10
cc.hvx.arg11=v11
cc.hvx.arg12=v12
cc.hvx.arg13=v13
cc.hvx.arg14=v14
cc.hvx.arg15=v15
cc.hvx.ret=v0
1 change: 1 addition & 0 deletions librz/analysis/d/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ sdb_files = [
'cc-arm-32',
'cc-arm-64',
'cc-avr-8',
'cc-hexagon-32',
'cc-m68k-32',
'cc-mips-32',
'cc-mips-64',
Expand Down
4 changes: 0 additions & 4 deletions librz/analysis/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,12 @@ rz_analysis_sources = [
'p/analysis_xtensa.c',
'p/analysis_z80.c',
#'arch/gb/meta_gb_cmt.c',
'arch/hexagon/hexagon_analysis.c',
'../asm/arch/amd29k/amd29k.c',
'../asm/arch/arm/winedbg/be_arm.c',
'../asm/arch/avr/disassembler.c',
'../asm/arch/cr16/cr16_disas.c',
'../asm/arch/ebc/ebc_disas.c',
'../asm/arch/h8300/h8300_disas.c',
'../asm/arch/hexagon/hexagon.c',
'../asm/arch/hexagon/hexagon_disas.c',
'../asm/arch/java/jvm.c',
'../asm/arch/mcore/mcore.c',
'../asm/arch/msp430/msp430_disas.c',
Expand Down Expand Up @@ -172,7 +169,6 @@ rz_analysis_inc = [
platform_inc,
include_directories(
'arch/gb',
'arch/hexagon',
)
]

Expand Down
Loading

0 comments on commit 2c00b89

Please sign in to comment.