Category Archives: C/C++

Compile avmplus in windows

In this post, i like to document the process and changes needed to build the avmplus in windows environment. Though Adobe provided the solution file, it didn’t work in the first try. If you understand the vcproj file format, its … Continue reading

Posted in C/C++, Flash | Tagged , , , | 1 Comment

Assembly language programming using visual studio 2010

Recently we faced with the issue of including assembly code in a project. After lot of Googling we got the following links. Just sharing these links. http://stackoverflow.com/questions/2839710/how-to-inline-assembler-in-c-under-visual-studio-2010http://msdn.microsoft.com/en-us/library/26td21ds%28v=VS.80%29.aspxhttp://www.deconflations.com/2011/masm-assembly-in-visual-studio-2010/http://oradim.blogspot.in/2009/03/jmp-around-win64-with-ml64exe-and.htmlhttp://msdn.microsoft.com/en-us/magazine/cc300794.aspxhttp://blogs.msdn.com/b/oldnewthing/archive/2004/01/14/58579.aspx

Posted in C/C++, Reversing, Windows, Windows VC++ | Tagged | Leave a comment

Visual Studio Editor Schemes

If you like to change the schemes of your visual studio editor, you can download the vssettings file from this URL. Looks cool. http://studiostyl.es/schemes How to use:1.Download the scheme and Save it.2.Run Visual Studio and go to: Tools->Settings->Import and Export … Continue reading

Posted in C/C++, Windows VC++ | Tagged | Leave a comment

Chrome IPC Internals – Part V

In this part, we will see how to send a message in synchronized manner. We will send a message to the server and wait for the server to respond. IPCSyncMessage.h #pragma once #define IPC_MESSAGE_START TestMsgStart // in1 must be false, … Continue reading

Posted in C/C++, Chrome, Cr-48, Internals, Windows VC++ | Tagged , , , , , , | 2 Comments

Chrome IPC Internals – Part IV

In this part, we will see how to use IPC::ChannelProxy for sending and receiving messages using chrome IPC mechanism. From the source code (\ipc\ipc_channel_proxy.h)// IPC::ChannelProxy// This class is a helper class that is useful when you wish to run an … Continue reading

Posted in C/C++, Chrome, Cr-48, Internals, Windows VC++ | Tagged , , , , , , | Leave a comment

Chrome IPC Internals – Part III

We didn’t specify anything about the message ID in the IPC “protocol” header. Did we? Yes we did specify about the message ID in indirect manner. In this blog we will answer few questions. 1) Did we specify message ID?2) … Continue reading

Posted in C/C++, Chrome, Cr-48, Internals | Tagged , , , , , , , | Leave a comment

Chrome IPC Internals – Part II

In this part, we will see how to write a simple client/server component interacting using Chrome IPC. This is a very basic one. I have never found a tutorial to create one such PoC. By extending this, we can use … Continue reading

Posted in C/C++, Chrome, Cr-48, Internals | Tagged , , , , , , , | Leave a comment