radare2/libr/anal/Jamroot
Ricardo Quesada 557d45bca1 Add 6502 analysis module
Include all documented 6502 opcodes
Esil expression is still work in progress
Fix BRK opcode->size in 6502_disas
2015-09-18 00:09:43 +02:00

126 lines
2.6 KiB
Plaintext

ANAL_OBJS = meta.c reflines.c ref.c op.c fcn.c bb.c var.c ;
ANAL_OBJS += cond.c value.c cc.c diff.c types.c fcnstore.c ;
ANAL_OBJS += hint.c vm.c anal.c data.c xrefs.c esil.c sign.c ;
ANAL_OBJS += anal_ex.c state.c switch.c ;
# plugins
ANAL_OBJS += p/anal_8051.c ;
ANAL_OBJS += p/anal_bf.c ;
ANAL_OBJS += p/anal_i8080.c ;
ANAL_OBJS += p/anal_z80.c ;
# udis86
ANAL_OBJS += p/anal_x86_udis.c ;
ANAL_OBJS += p/esil_x86_udis.c ;
ANAL_EXTRA =
<library>../../shlr/udis86
<include>../../shlr/capstone/include
<include>../asm/arch/8051
<include>../asm/arch/ebc
<include>../asm/arch/gb
<include>arch/gb
<include>../../shlr/
;
# sparc
ANAL_OBJS += p/anal_sparc.c
../asm/arch/sparc/gnu/sparc-dis.c
../asm/arch/sparc/gnu/sparc-opc.c
;
ANAL_EXTRA += <include>../asm/arch/include ;
# arm
ANAL_OBJS += p/anal_arm_cs.c
p/anal_arm_gnu.c
../asm/arch/arm/gnu/arm-dis.c
# ../asm/arch/arm/aarch64/aarch64-asm-2.c
# ../asm/arch/arm/aarch64/aarch64-gen.c
# ../asm/arch/arm/aarch64/aarch64-asm.c
../asm/arch/arm/aarch64/aarch64-opc-2.c
../asm/arch/arm/aarch64/aarch64-dis-2.c
../asm/arch/arm/aarch64/aarch64-opc.c
../asm/arch/arm/aarch64/aarch64-dis.c
../asm/arch/arm/winedbg/be_arm.c
;
ANAL_EXTRA +=
<include>../asm/arch/include
<include>../asm/arch/arm/aarch64/
;
# SH
ANAL_OBJS += p/anal_sh.c
../asm/arch/sh/gnu/sh-dis.c
;
# MIPS
ANAL_OBJS += p/anal_mips_gnu.c
p/anal_mips_cs.c
../asm/arch/mips/gnu/mips-dis.c
../asm/arch/mips/gnu/mips-opc.c
../asm/arch/mips/gnu/mips16-opc.c
;
# PPC
ANAL_OBJS += p/anal_ppc.c
../asm/arch/ppc/gnu/ppc-dis.c
../asm/arch/ppc/gnu/ppc-opc.c
;
# CSR
ANAL_OBJS += p/anal_csr.c
../asm/arch/csr/dis.c
;
# M68K
ANAL_OBJS += p/anal_m68k.c
../asm/arch/m68k/m68k_disasm/m68k_disasm.c
;
# AVR
ANAL_OBJS += p/anal_avr.c ;
# ARC
ANAL_OBJS += p/anal_arc.c
../asm/arch/arc/gnu/arc-dis.c
../asm/arch/arc/gnu/arcompact-dis.c
../asm/arch/arc/gnu/arc-ext.c
../asm/arch/arc/gnu/arc-opc.c
;
# EBC
ANAL_OBJS += p/anal_ebc.c
../asm/arch/ebc/ebc_disas.c
;
# Java
ANAL_OBJS += p/anal_java.c
../../shlr/java/ops.c
;
# TMS320
ANAL_OBJS += p/anal_tms320.c
../asm/arch/tms320/tms320_dasm.c
;
# DALVIK
ANAL_OBJS += p/anal_dalvik.c ;
# GB
ANAL_OBJS += p/anal_gb.c ;
# 6502
ANAL_OBJS += p/anal_6502.c ;
lib r_anal : $(ANAL_OBJS) :
<include>../include
<define>CORELIB
<library>../util
<library>../reg
<library>../diff
<library>../syscall
<library>../../shlr/java
<library>../db
<library>../../shlr/sdb # XXX this should be implicit by ../db
$(ANAL_EXTRA)
;