From 2bd40b9c91224097f067537984ad1520d37aff15 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Tue, 25 Apr 2017 12:55:26 +0800 Subject: [PATCH] update armeb & arm64eb samples --- bindings/python/sample_arm64eb.py | 2 +- bindings/python/sample_armeb.py | 2 +- samples/sample_arm64eb.c | 2 +- samples/sample_armeb.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bindings/python/sample_arm64eb.py b/bindings/python/sample_arm64eb.py index 965c3891..1dc177da 100755 --- a/bindings/python/sample_arm64eb.py +++ b/bindings/python/sample_arm64eb.py @@ -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) diff --git a/bindings/python/sample_armeb.py b/bindings/python/sample_armeb.py index 37b4d6a5..9a2158db 100755 --- a/bindings/python/sample_armeb.py +++ b/bindings/python/sample_armeb.py @@ -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) diff --git a/samples/sample_arm64eb.c b/samples/sample_arm64eb.c index 0f8a47bc..b09cc22f 100644 --- a/samples/sample_arm64eb.c +++ b/samples/sample_arm64eb.c @@ -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); diff --git a/samples/sample_armeb.c b/samples/sample_armeb.c index 78bc42bc..b6da08e7 100644 --- a/samples/sample_armeb.c +++ b/samples/sample_armeb.c @@ -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);