electroglyph
Programmer
I'm pretty terrible at ASM, mostly learned from intel opcode reference and using debuggers a lot.
I'm currently writing a little snippet of code that needs to be very small and not use APIs if possible, or as few as possible. This is because I have to be able to easily assemble the instructions on the fly for dynamic code injection into a live process.
I need a sleep function that doesn't throttle the current thread...if it's at all possible to do fairly simply and reliably. My environment is windows XP and later, with access to a msvc runtime and the normal windows APIs.
I'm very good at threading in managed language, but have no idea how to do something at a lower level.
Any tips or pointers in the right direction greatly appreciated.
I'm currently writing a little snippet of code that needs to be very small and not use APIs if possible, or as few as possible. This is because I have to be able to easily assemble the instructions on the fly for dynamic code injection into a live process.
I need a sleep function that doesn't throttle the current thread...if it's at all possible to do fairly simply and reliably. My environment is windows XP and later, with access to a msvc runtime and the normal windows APIs.
I'm very good at threading in managed language, but have no idea how to do something at a lower level.
Any tips or pointers in the right direction greatly appreciated.