Skip to content

Instantly share code, notes, and snippets.

@robindimyan
Last active January 31, 2016 21:03
Show Gist options
  • Save robindimyan/06ff0f928423780de724 to your computer and use it in GitHub Desktop.
Save robindimyan/06ff0f928423780de724 to your computer and use it in GitHub Desktop.
for (int i=0; i<=15; i++) // mov DWORD PTR [ebp-0xc], 0x0
/* do stuff */ // jmp addr2
// <addr1>:
// /* do stuff */
// ...
// add DWORD PTR [ebp-0xc], 0x1
// <addr2>:
// mov ecx, DWORD PTR [ebp-0xc]
// cmp ecx, 0xf
// jle addr1
/* ------------------------------------------------------------------ */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment