Install any skill in seconds. Free to start, no credit card required.
Get Started Free →wshobson/binary-analysis-patterns
Master binary analysis patterns including disassembly, decompilation, control flow analysis, and code pattern recognition.
Passed 20 of 23 test cases with the skill, and 19 of 23 without it.
2 fixed18 passed either way2 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
In legacy x86 assembly prior to modern hardware extensions, counting leading zeros in a 32-bit register `ecx` was implemented using a bit scan instruction combined with an XOR mask. What two instructions perform this transformation?
| Checked | Without skill | With skill |
|---|---|---|
| Uses bsr eax, ecx to scan bits in reverse. | Missed | Passed |
| Executes xor eax, 31 to convert the bit index to leading zero count. | Missed | Passed |
The instructions your model reads when the skill loads.
Comprehensive patterns and techniques for analyzing compiled binaries, understanding assembly code, and reconstructing program logic.
Originally a 2047-byte section in this SKILL.md. Moved to references/details.md to fit Codex's 8 KB skill body cap.
; if (a == b)
cmp eax, ebx
jne skip_block
; ... if body ...
skip_block:
; if (a < b) - signed
cmp eax, ebx
jge skip_block ; Jump if greater or equal
; ... if body ...
skip_block:
; if (a < b) - unsigned
cmp eax, ebx
jae skip_block ; Jump if above or equal
; ... if body ...
skip_block:
test cases passed, vs 19 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.