<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Reverse-Engineering on Security Notes</title>
    <link>https://blog.omiilgo.com/tags/reverse-engineering/</link>
    <description>Recent content in Reverse-Engineering on Security Notes</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 15 Sep 2026 09:00:00 +0800</lastBuildDate>
    <atom:link href="https://blog.omiilgo.com/tags/reverse-engineering/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ELF Symbols and Relocations, a Full `readelf` Session</title>
      <link>https://blog.omiilgo.com/posts/elf-symbol-and-relocation-basics/</link>
      <pubDate>Tue, 15 Sep 2026 09:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/elf-symbol-and-relocation-basics/</guid>
      <description>Toy PIE: readelf -s / -r / -d / -S in one sitting. .dynsym UND vs .symtab, JUMP_SLOT vs RELATIVE, how a stripped copy still names puts. gdb bind check.</description>
    </item>
    <item>
      <title>Swift Mangling vs ObjC methname: Recovering Names After Strip</title>
      <link>https://blog.omiilgo.com/posts/ios-swift-vs-objc-name-recovery/</link>
      <pubDate>Fri, 21 Mar 2025 13:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/ios-swift-vs-objc-name-recovery/</guid>
      <description>Lab Swift class LabVault: $s… mangled names, xcrun swift demangle, nm before/after strip, the one @objc method that survives in __objc_methname. class-dump, lldb, ASAN. cryptid=1 stops the lab.</description>
    </item>
    <item>
      <title>NDK .so Session: readelf, llvm-objdump -d, JNI_OnLoad</title>
      <link>https://blog.omiilgo.com/posts/android-native-library-re-notes/</link>
      <pubDate>Sat, 04 Jan 2025 10:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-native-library-re-notes/</guid>
      <description>One lab APK, one arm64-v8a .so. file/readelf/llvm-objdump through JNI_OnLoad, Java_* exports, GetStringUTFChars, a 32-byte stack copy, tombstone and ASAN. Frida logs length and prefix only.</description>
    </item>
    <item>
      <title>AIDL Lab Service: Parcel Layout and Native onTransact</title>
      <link>https://blog.omiilgo.com/posts/android-binder-parcel-reversing/</link>
      <pubDate>Fri, 16 Feb 2024 09:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-binder-parcel-reversing/</guid>
      <description>Self-built AIDL service com.lab.binder. dumpsys and logcat Binder, Parcel bytes for writeInterfaceToken + int + string, ARM64 BnEcho::onTransact. No privilege escalation.</description>
    </item>
    <item>
      <title>Frida: Java Wrapper vs JNI Interceptor on the Same Call</title>
      <link>https://blog.omiilgo.com/posts/android-frida-jni-trace-lab/</link>
      <pubDate>Mon, 04 Sep 2023 11:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-frida-jni-trace-lab/</guid>
      <description>Lab APK com.lab.jni.trace. Hook NativeBridge.nInit in Java.perform and the Java_* export with Interceptor.attach, then compare argument length and prefix. Console output redacted.</description>
    </item>
    <item>
      <title>apktool Smali: if-eqz Chains That Want to Be a switch</title>
      <link>https://blog.omiilgo.com/posts/android-smali-control-flow-notes/</link>
      <pubDate>Tue, 08 Nov 2022 14:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-smali-control-flow-notes/</guid>
      <description>Lab APK with packed-looking if-eqz obfuscation around a 5-way dispatch. apktool smali, jadx Java, reconstruct a packed-switch, plus a planted stack copy crash. Not a commercial packer unpack.</description>
    </item>
    <item>
      <title>Walking .init_array on a Toy Packed ELF</title>
      <link>https://blog.omiilgo.com/posts/packed-elf-init-array-dump/</link>
      <pubDate>Mon, 18 Jul 2022 09:30:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/packed-elf-init-array-dump/</guid>
      <description>Lab stub that mprotects RWX, XOR-decodes a 32-byte .text blob, restores r-x, then returns into real code. readelf of .init_array and PT_GNU_STACK, gdb break on mprotect, dump of the r-x region.</description>
    </item>
    <item>
      <title>Reversing objc_msgSend on a Self-Signed arm64 Mach-O</title>
      <link>https://blog.omiilgo.com/posts/ios-objc-msgsend-reversing/</link>
      <pubDate>Wed, 27 Oct 2021 16:40:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/ios-objc-msgsend-reversing/</guid>
      <description>otool load commands, class-dump selectors, lldb break on objc_msgSend, recover IMP for -[LabSession startWithToken:], redacted argument log. FairPlay-encrypted App Store bins are out of scope.</description>
    </item>
    <item>
      <title>Binary Auditing Checklist, Filled on a Toy ELF</title>
      <link>https://blog.omiilgo.com/posts/binary-auditing-checklist/</link>
      <pubDate>Sat, 21 Aug 2021 16:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/binary-auditing-checklist/</guid>
      <description>First-pass checklist actually filled: checksec + readelf + objdump on a 60-line toy with gets/sprintf/printf(user). One-pager of mitigations, sinks, and the ASan crash.</description>
    </item>
    <item>
      <title>Finding Hidden JNI Methods: RegisterNatives in a Lab APK</title>
      <link>https://blog.omiilgo.com/posts/android-jni-registernatives-lab/</link>
      <pubDate>Wed, 09 Jun 2021 14:10:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-jni-registernatives-lab/</guid>
      <description>APK where nm -D shows no Java_* exports. Walk JNI_OnLoad, recover the JNINativeMethod table, map Java names to ARM64 IMPs, Frida-trace the native with arguments redacted.</description>
    </item>
    <item>
      <title>Recovering a C&#43;&#43; Vtable From ARM64/x64 Disassembly</title>
      <link>https://blog.omiilgo.com/posts/cpp-vtable-recovery-from-disassembly/</link>
      <pubDate>Thu, 11 Mar 2021 10:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/cpp-vtable-recovery-from-disassembly/</guid>
      <description>Two-class toy hierarchy, virtual dtor plus two methods. objdump/readelf of the compiler vtable, ctor writing the vptr, virtual call through [x0,#16], gdb print of the slot.</description>
    </item>
    <item>
      <title>ROP vs ret2libc: Classifying `ret` Sites on a Toy Binary</title>
      <link>https://blog.omiilgo.com/posts/rop-versus-ret2libc-mental-model/</link>
      <pubDate>Tue, 09 Feb 2021 14:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/rop-versus-ret2libc-mental-model/</guid>
      <description>Mental model plus objdump of a toy: ret2libc is whole-function reuse, ROP is fragment reuse. Classify epilogue rets vs pop;ret vs leave;ret. Overflow crash with RIP=0x4141… — no system(&amp;quot;/bin/sh&amp;quot;) chain.</description>
    </item>
    <item>
      <title>AArch64 Calling Convention, as Read in IDA</title>
      <link>https://blog.omiilgo.com/posts/arm64-calling-convention-for-reversers/</link>
      <pubDate>Mon, 03 Aug 2020 13:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/arm64-calling-convention-for-reversers/</guid>
      <description>AAPCS64 as it shows up in IDA: x0–x7, x29/x30, 16-byte SP, PACIBSP. Toy function with nine integer args so the ninth is on the stack. objdump of prologue and epilogue.</description>
    </item>
    <item>
      <title>Reading RELRO, GOT, and PLT on a PIE Lab Binary</title>
      <link>https://blog.omiilgo.com/posts/relro-got-plt-reading-notes/</link>
      <pubDate>Mon, 15 Jun 2020 09:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/relro-got-plt-reading-notes/</guid>
      <description>Partial vs Full RELRO measured on one toy: readelf FLAGS/GNU_RELRO, objdump of puts@plt, gdb GOT slot before and after bind, /proc maps of .got.plt. Companion to the lazy-binding lab.</description>
    </item>
    <item>
      <title>ELF GOT/PLT Lazy Binding, Read From a PIE Lab Binary</title>
      <link>https://blog.omiilgo.com/posts/elf-got-plt-lazy-binding-lab/</link>
      <pubDate>Wed, 22 Apr 2020 11:20:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/elf-got-plt-lazy-binding-lab/</guid>
      <description>Lab walkthrough of lazy PLT binding on a PIE: readelf, objdump, GOT slot before/after the first call, Partial vs Full RELRO.</description>
    </item>
    <item>
      <title>Walking Mach-O Load Commands on a Self-Signed arm64 Lab Binary</title>
      <link>https://blog.omiilgo.com/posts/ios-macho-load-commands-lab/</link>
      <pubDate>Thu, 16 Jan 2020 11:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/ios-macho-load-commands-lab/</guid>
      <description>Full otool -l walk of a self-signed LabSession: mach_header_64, LC_SEGMENT_64 __TEXT/__DATA, LC_LOAD_DYLIB, LC_CODE_SIGNATURE, LC_ENCRYPTION_INFO_64 cryptid=0. size -x, nm, class-dump, lldb. cryptid=1 stops the lab.</description>
    </item>
    <item>
      <title>JNI_OnLoad vs Java_* Name Mangling on a Lab APK</title>
      <link>https://blog.omiilgo.com/posts/android-jni-onload-name-mangling/</link>
      <pubDate>Mon, 02 Dec 2019 10:00:00 +0800</pubDate>
      <guid>https://blog.omiilgo.com/posts/android-jni-onload-name-mangling/</guid>
      <description>Self-built APK where javah-style Java_com_lab_onload_Bridge_* exports sit next to a RegisterNatives table. readelf -s, ARM64 JNIEnv GetObjectClass, crash on an unbounded UTF copy.</description>
    </item>
  </channel>
</rss>
