From 62b9d2e70d694180d3707ca0c4fa45505e6df019 Mon Sep 17 00:00:00 2001 From: serr Date: Wed, 15 Jan 2025 19:25:33 +0300 Subject: [PATCH] update comments --- analysis_function.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/analysis_function.h b/analysis_function.h index b73deb7..f6d19ca 100644 --- a/analysis_function.h +++ b/analysis_function.h @@ -25,14 +25,14 @@ byte* AF_address(byte* f) { return real_address; } -// Print bytes from address to address+size (Use AF_address to get function ptr) +// Print bytes from address to address+size (Use AF_address() to get function ptr) int32_t AF_print_bytes(byte* a, int32_t size) { for (int32_t i = 0; i < size; ++i) { printf("%02X ", *(a + i)); } } -// Get any function size (Use AF_address to get function ptr) +// Get any function size (Use AF_address() to get function ptr) int32_t AF_size(byte* f) { byte* p = f; for (; *p != RET; ++p);