Add missing Capstone plugins to Meson
This commit is contained in:
parent
9ba2997443
commit
5f84a020d7
|
@ -58,6 +58,7 @@ r_anal_sources = [
|
|||
join_paths('p','anal_cris.c'),
|
||||
join_paths('p','anal_dalvik.c'),
|
||||
join_paths('p','anal_ebc.c'),
|
||||
join_paths('p','anal_evm_cs.c'),
|
||||
join_paths('p','anal_gb.c'),
|
||||
join_paths('p','anal_h8300.c'),
|
||||
join_paths('p','anal_i4004.c'),
|
||||
|
@ -83,6 +84,7 @@ r_anal_sources = [
|
|||
join_paths('p','anal_propeller.c'),
|
||||
join_paths('p','anal_pyc.c'),
|
||||
join_paths('p','anal_riscv.c'),
|
||||
join_paths('p','anal_riscv_cs.c'),
|
||||
join_paths('p','anal_rsp.c'),
|
||||
join_paths('p','anal_s390_cs.c'),
|
||||
join_paths('p','anal_s390_gnu.c'),
|
||||
|
|
|
@ -170,6 +170,7 @@ asm_plugins += [
|
|||
# TODO: add the pyc plugin for meson builds too
|
||||
anal_plugins += [
|
||||
'6502',
|
||||
'6502_cs',
|
||||
'8051',
|
||||
'amd29k',
|
||||
#'arc',
|
||||
|
@ -184,6 +185,7 @@ anal_plugins += [
|
|||
'cris',
|
||||
'dalvik',
|
||||
'ebc',
|
||||
'evm_cs',
|
||||
'gb',
|
||||
'h8300',
|
||||
'i4004',
|
||||
|
@ -203,6 +205,7 @@ anal_plugins += [
|
|||
'ppc_cs',
|
||||
'propeller',
|
||||
'riscv',
|
||||
'riscv_cs',
|
||||
'rsp',
|
||||
'sh',
|
||||
'snes',
|
||||
|
|
|
@ -136,7 +136,8 @@ if not capstone_dep.found() or not get_option('use_sys_capstone')
|
|||
'arch/EVM/EVMMapping.c',
|
||||
'arch/EVM/EVMModule.c',
|
||||
'arch/X86/X86InstPrinterCommon.c',
|
||||
# Add riscv files
|
||||
'arch/MOS65XX/MOS65XXDisassembler.c',
|
||||
'arch/MOS65XX/MOS65XXModule.c',
|
||||
'arch/RISCV/RISCVMapping.c',
|
||||
'arch/RISCV/RISCVModule.c',
|
||||
'arch/RISCV/RISCVInstPrinter.c',
|
||||
|
@ -197,7 +198,12 @@ if not capstone_dep.found() or not get_option('use_sys_capstone')
|
|||
foreach rel_cs_file : rel_cs5_files
|
||||
cs_files += [join_paths(capstone_path, rel_cs_file)]
|
||||
endforeach
|
||||
cs_c_args += [ '-DCAPSTONE_HAS_BPF', '-DCAPSTONE_HAS_EVM', '-DCAPSTONE_HAS_RISCV' ]
|
||||
cs_c_args += [
|
||||
'-DCAPSTONE_HAS_BPF',
|
||||
'-DCAPSTONE_HAS_EVM',
|
||||
'-DCAPSTONE_HAS_MOS65XX',
|
||||
'-DCAPSTONE_HAS_RISCV',
|
||||
]
|
||||
endif
|
||||
|
||||
capstone_includes = [platform_inc, include_directories(join_paths('capstone','include'))]
|
||||
|
|
Loading…
Reference in New Issue