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
{ "attachments" : [ { "filename" : "zzz.png", | |
"issue" : 202, | |
"path" : "attachments/b6cc53ffeaab42adb9071515d82704f9", | |
"user" : "Vincent168" | |
}, | |
{ "filename" : "nfsw_launcher.exe", | |
"issue" : 212, | |
"path" : "attachments/6ef6431123184d2ba01e712715bdbe10", | |
"user" : null | |
}, |
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=#FFF8F0 | |
AbstractTableViewHeaderTextColor=#000000 | |
AbstractTableViewSelectionColor=#C0C0C0 | |
AbstractTableViewSeparatorColor=#808080 | |
AbstractTableViewTextColor=#000000 | |
DisassemblyAddressBackgroundColor=#XXXXXX | |
DisassemblyAddressColor=#808080 | |
DisassemblyAutoCommentBackgroundColor=#XXXXXX | |
DisassemblyAutoCommentColor=#008000 |
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
""" | |
A script that tries to determine the call stack | |
Run the application with the debugger, suspend the debugger, select a thread and finally run the script. | |
Copyright (c) 1990-2009 Hex-Rays | |
ALL RIGHTS RESERVED. | |
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 "DLL.h" | |
#include <stdlib.h> | |
#include <cstring> | |
DLL_EXPORT void* DataAlloc(size_t size) | |
{ | |
return malloc(size); | |
} | |
DLL_EXPORT void DataFree(void* ptr) |
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 "Debugger.Thread.Registers.h" | |
#ifdef _WIN64 | |
#define contextGax _context.Rax | |
#define contextGbx _context.Rbx | |
#define contextGcx _context.Rcx | |
#define contextGdx _context.Rdx | |
#define contextGdi _context.Rdi | |
#define contextGsi _context.Rsi | |
#define contextGbp _context.Rbp |
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
<?php | |
function addLog($text, $debug = false) { | |
if ($debug) { | |
file_put_contents("debug_log.txt", $text . PHP_EOL, FILE_APPEND); | |
} | |
} | |
function makeResponse($request) { | |
return array( | |
"jsonrpc" => "2.0", |
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
/****************************************************************************** | |
* File: GraphProcessor.cpp | |
* Author: Carsten Gutwenger | |
* | |
* Implements some helper functions for drawing graphs. | |
* | |
****************************************************************************** | |
* | |
* Copyright (c) 2010-2011 Carsten Gutwenger | |
* All rights reserved. |
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 <stdarg.h> | |
#include <vector> | |
enum Message | |
{ | |
MsgAdd, //int(int, int) | |
MsgNeg, //int(int) | |
MsgRand, //int() | |
}; |
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 | |
{ |