update armeb & arm64eb samples

This commit is contained in:
Nguyen Anh Quynh 2017-04-25 12:55:26 +08:00
parent c2643f3077
commit 2bd40b9c91
4 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ def hook_code(uc, address, size, user_data):
# Test ARM64
def test_arm64():
print("Emulate ARM64 code")
print("Emulate ARM64 Big-Endian code")
try:
# Initialize emulator in ARM mode
mu = Uc(UC_ARCH_ARM64, UC_MODE_ARM | UC_MODE_BIG_ENDIAN)

View File

@ -25,7 +25,7 @@ def hook_code(uc, address, size, user_data):
# Test ARM
def test_arm():
print("Emulate ARM code")
print("Emulate ARM Big-Endian code")
try:
# Initialize emulator in ARM mode
mu = Uc(UC_ARCH_ARM, UC_MODE_ARM | UC_MODE_BIG_ENDIAN)

View File

@ -34,7 +34,7 @@ static void test_arm64(void)
int64_t x13 = 0x6789; // X13 register
int64_t x15 = 0x3333; // X15 register
printf("Emulate ARM64 code\n");
printf("Emulate ARM64 Big-Endian code\n");
// Initialize emulator in ARM mode
err = uc_open(UC_ARCH_ARM64, UC_MODE_ARM + UC_MODE_BIG_ENDIAN, &uc);

View File

@ -35,7 +35,7 @@ static void test_arm(void)
int r3 = 0x3333; // R2 register
int r1; // R1 register
printf("Emulate ARM code\n");
printf("Emulate ARM Big-Endian code\n");
// Initialize emulator in ARM mode
err = uc_open(UC_ARCH_ARM, UC_MODE_ARM + UC_MODE_BIG_ENDIAN, &uc);