uc_mode fixes for bindings

This commit is contained in:
xorstream
2016-01-25 17:42:51 +11:00
parent 7973f6b4c9
commit bc0003188e
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ def test_sparc():
print("Emulate SPARC code")
try:
# Initialize emulator in SPARC EB mode
mu = Uc(UC_ARCH_SPARC, UC_MODE_SPARC32)
mu = Uc(UC_ARCH_SPARC, UC_MODE_SPARC32|UC_MODE_BIG_ENDIAN)
# map 2MB memory for this emulation
mu.mem_map(ADDRESS, 2 * 1024 * 1024)