O'Reilly logo

Windows Malware Analysis Essentials by Victor Marak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Preparing the alter

Using the inline assembler in VC++ 2008 is simple and convenient enough. However, the caveats are that certain conditional commands such as .IF, .WHILE, and .REPEAT, as well as macros cannot be utilized. Let us look at the three described methods of working with assembly code with your regular toolkit. Visual Studio can be configured to compile assembly code using the MASM assembler in the C code. The C runtime library can be integrated during linking to facilitate this. Create a Win32 project as usual and add a new item.

From the Visual C++ menu, choose the Code and CPP file, and name your file with a .asm extension.

Right-click the project name in the Solution Explorer, and choose Properties | Configuration Properties | Linker ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required