Add python support for s390x

This commit is contained in:
mio
2022-01-01 00:58:10 +01:00
parent d5e0bff7d5
commit 8b0285e135
4 changed files with 186 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import sys, re, os
INCL_DIR = os.path.join('..', 'include', 'unicorn')
include = [ 'arm.h', 'arm64.h', 'mips.h', 'x86.h', 'sparc.h', 'm68k.h', 'ppc.h', 'riscv.h', 'unicorn.h' ]
include = [ 'arm.h', 'arm64.h', 'mips.h', 'x86.h', 'sparc.h', 'm68k.h', 'ppc.h', 'riscv.h', 's390x.h', 'unicorn.h' ]
template = {
'python': {
@@ -23,6 +23,7 @@ template = {
'm68k.h': 'm68k',
'ppc.h': 'ppc',
'riscv.h': 'riscv',
's390x.h' : "s390x",
'unicorn.h': 'unicorn',
'comment_open': '#',
'comment_close': '',