update comments

main
serr 2025-01-15 19:25:33 +03:00
parent f2d5f3856d
commit 62b9d2e70d
1 changed files with 2 additions and 2 deletions

View File

@ -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);