I use MSVC 2008.
Let’s say I have a function in my code:
int foo()
{
return 2 + 5;
}
What tools can I use to obtain ASCII representation of this routine in X86 assembler?
void bar()
{
std::string s = disassemble(foo);
printf("%s\n", s.c_str());
}
You can use the marvelous BEAEngine library.