Sunday, May 30, 2010

Utilities

1. You can use the undname.exe to convert a decorated name to its undecorated form.

2. SubInACL is a command-line tool that enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to domain.

Gook Link:- Clickhere

3.guidgen To generate new GUIDs

4.ErrorLookup To decode last error code.

5.HRPlus To convert the HResult into string

6. DUMPBIN
a. Using DUMPBIN to View Decorated Names

Assembly Language Programming

Why does the compiler generate a MOV EDI, EDI instruction at the beginning of functions?

Assembly language1

Assembly language2

THE 80x86 INSTRUCTION SET

Thursday, May 27, 2010

Dump Generation

Starting with Windows Server 2008 and Windows Vista with Service Pack 1 (SP1), Windows Error Reporting (WER) can be configured so that full user-mode dumps are collected and stored locally after a user-mode application crashes.
Collecting user-mode dumps

WER Settings Click Here!!!

How to Use the Userdump.exe Tool to Create a Dump File

How to use ADPlus to troubleshoot "hangs" and "crashes"

ProcDump is a command-line utility whose primary purpose is monitoring an application for CPU spikes and generating crash dumps during a spike that an administrator or developer can use to determine the cause of the spike. ProcDump also includes hung window monitoring (using the same definition of a window hang that Windows and Task Manager use) and unhandled exception monitoring. It also can serve as a general process dump utility that you can embed in other scripts.
ProcDump v1.72

Dr. Watson

You can use windbg and .dump command with appropriate switch

How to use Dumpchk.exe to check a Memory Dump file

Configuring Automatic Debugging

Specifying the Debugger for Unhandled User Mode Exceptions

How to: Launch the Debugger Automatically

Finding crash information using the MAP file

Forcing a System Crash from the Keyboard

C++0x New Standard and TR1

C++0x Core Language Features In VC10: The Table
Presentation Materials: Overview of the New C++ (C++0x)

Tuesday, May 25, 2010

extern "C" function assumed not to throw execption

Hi,

Today I have noticed that function declared with extern "C", are not assumed to throw.

If this function does throw execption, results are unexpected.

It could corrupt whole data section, anything can happen

More Reference:- Clickhere!!!

Clickhere!!!