#!/usr/bin/env python # this tests disassembly through the binja API, ensuring binja <- arch <- disassembler # # that's an important distinction versus testing just the disassembler import re, struct, os, sys, ctypes import binaryninja print("binaryninja.__file__:", binaryninja.__file__) sys.path.append('./disassembler') import disasm_test arch = None def disassemble(addr, insnum): global arch if not arch: arch = binaryninja.Architecture['aarch64'] data = struct.pack('