Click here to Skip to main content
15,886,362 members
Articles / Programming Languages / C++

An Analysis of the Windows PE Checksum Algorithm

Rate me:
Please Sign up or sign in to vote.
4.89/5 (42 votes)
7 Mar 2008CPOL17 min read 168K   8.4K   100  
An Analysis Demonstrating the PE Checksum is an Additive Checksum based on RFC 1071
// Sample.h : main header file for the PROJECT_NAME application
//

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"		// main symbols

// CPEChecksumApp:
// See Sample.cpp for the implementation of this class
//

class CPEChecksumApp : public CWinApp
{
public:
	CPEChecksumApp();

// Overrides
	public:
	virtual BOOL InitInstance();

// Implementation

	DECLARE_MESSAGE_MAP()
};

extern CPEChecksumApp theApp;

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems / Hardware Administrator
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions