This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <stdio.h> | |
static LPTOP_LEVEL_EXCEPTION_FILTER OldFilter; | |
static char callOrder[10] = ""; | |
int main() | |
{ | |
OldFilter = SetUnhandledExceptionFilter([](PEXCEPTION_POINTERS ExceptionInfo) -> LONG | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- TRACER STARTED --- | |
Process 7332 created with entry 0x00007FF6CDF9251E | |
DLL loaded at 0x00007FFDCD1D0000 | |
DLL loaded at 0x00007FFDCB2B0000 | |
DLL loaded at 0x00007FFDCA680000 | |
DLL loaded at 0x00007FFDCA8B0000 | |
DLL loaded at 0x00007FFDC8F30000 | |
DLL loaded at 0x00007FFDCB870000 | |
DLL loaded at 0x00007FFDCD070000 | |
DLL loaded at 0x00007FFDCAE50000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _DEBUGGER_H | |
#define _DEBUGGER_H | |
#include "_global.h" | |
/** | |
\brief A debugger class. | |
*/ | |
class Debugger | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "command.h" | |
Command::Command(const String & command) | |
{ | |
ParseState state = Default; | |
int len = command.length(); | |
for(int i=0; i<len; i++) | |
{ | |
char ch = command[i]; | |
switch(state) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://www.codeproject.com/Articles/48575/How-to-define-a-template-class-in-a-h-file-and-imp | |
#include <iostream> | |
#include <vector> | |
#include "Test.h" | |
#include "Test.cpp" | |
int main() | |
{ | |
int n; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdint.h> | |
#include <windows.h> | |
const char * ALPHABET32 = "ABCDEFGHJKLMNPQRSTUVWXYZ23456789\0"; | |
int MAGIC = 91717; | |
int g_dwSeed = 0; | |
int8_t getCharIndex(char c) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Implemented from http://www.cs.uu.nl/docs/vakken/ds/HoorC/Heap.pdf | |
public class MinHeap<T> where T : IComparable<T> | |
{ | |
private readonly T[] A; | |
private int n; | |
public int Count { get { return n; } } | |
public MinHeap(int size) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Colors] | |
AbstractTableViewBackgroundColor=#000000 | |
AbstractTableViewHeaderTextColor=#000000 | |
AbstractTableViewSelectionColor=#000080 | |
AbstractTableViewSeparatorColor=#0000FF | |
AbstractTableViewTextColor=#FFFBF0 | |
DisassemblyAddressBackgroundColor=#XXXXXX | |
DisassemblyAddressColor=#B9B9B9 | |
DisassemblyAutoCommentBackgroundColor=#XXXXXX | |
DisassemblyAutoCommentColor=#B1B1B1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debugging "EDIDTemplate.bt" | |
tok_typedef | |
tok_uint16 | |
tok_identifier "EISAId" | |
< | |
tok_identifier "read" | |
= | |
tok_identifier "EISAIdToString" | |
, | |
tok_identifier "write" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hi | |
why i cannot attach to xdbg64 to svchost.exe? | |
its process is not even listed in the File-> Attach menu | |
fix this asap! | |
----- | |
Fix it yourself. Also try enabling debug privilege. | |
----- |