• FreiK's WebLog

    Speaking in 'public'...

    • 4 Comments
    I'll be hanging out with the cool kids at the Northwest C++ Users Group tomorrow night. If you're in the area, and want to heckle me, swing by. We'll be in building 40 at 6:30 PM. My talk starts at 7:00 PM. I'm talking about the actual runtime cost of...
  • FreiK's WebLog

    Bug in x86 inline assembly to watch out for

    • 2 Comments
    Imagine this very lame code: int main() {} void BugAsm() { __asm { MOV [ESP+12],OFFSET main } } void(*BugAsmPt)()=&BugAsm; // this is just to make sure the function is not removed by /OPT:REF Now imagine your significantly less...
Page 1 of 1 (2 items)