Executable formats
PE import hint/name decoder
Decode a little-endian import hint and its null-terminated ASCII name.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Read a two-byte hint, then consume name bytes through the first null. Report any remaining bytes separately.
00 00 followed by MessageBoxA and 00 gives hint 0 and an 11-character import name.
Limits
A single hint/name record only. No directory traversal, address dereferencing or executable loading.