text stringlengths 1 24.5M |
|---|
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-2013 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id$ */
#ifndef ZCONF_H
#define ZCONF_H
#define Z_SOLO
/*
* If you *really* need a unique prefix for all types and library f... |
/* zlib.h -- interface of the 'zlib' general purpose compression library
version 1.2.8, April 28th, 2013
Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising fr... |
/* zutil.c -- target dependent utility functions for the compression library
* Copyright (C) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id$ */
#include "zutil.h"
#ifndef Z_SOLO
# include "gzguts.h"
#endif
#ifndef NO_DUMMY_DEC... |
/* zutil.h -- internal interface and configuration of the compression library
* Copyright (C) 1995-2013 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression lib... |
#include "build.h"
#include "eventDispatcher.h"
#include "configManager.h"
#include "startWindow.h"
#include "project.h"
#include "projectWindow.h"
#include "../recompiler_core/platformLibrary.h"
//---------------------------------------------------------------------------
IMPLEMENT_APP(tools::App);
//-------------... |
#pragma once
namespace tools
{
//---------------------------------------------------------------------------
class StartWindow;
class LogWindow;
class ProjectWindow;
class Project;
//---------------------------------------------------------------------------
class RecentProjectFiles : public AutoConfig
{
... |
#include "build.h"
namespace tools
{
namespace prv
{
class BitmapCache
{
public:
BitmapCache()
{
// use the editor path for images
m_basePath = wxTheApp->GetEditorPath();
}
~BitmapCache()
{
for (size_t i = 0; i < m_entries.size(); ++i)
{
delete m_entries[i];
}
}
... |
#pragma once
namespace tools
{
enum EBitmapEffect
{
BE_Grayed = 1 << 1,
BE_HalfOpaque = 1 << 2,
BE_TintRed = 1 << 3,
BE_TintGreen = 1 << 4,
BE_RedCross = 1 << 5,
BE_Bullet_Error = 1 << 6,
BE_Bullet_Modified = 1 << 7,
BE_Bullet_Add = 1 << 8,
BE_Bullet_Star = 1 << 9,
BE_Bullet_Import = 1 << 10,
}... |
#include "build.h"
|
#pragma once
#include <stdio.h>
#include <tchar.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
#include <set>
#include <deque>
#include <map>
#include <string>
#include <algorithm>
#include <functional>
#include <mutex>
#include <atomic>
#include "..\recompiler_core\build.h"
// Widgets
#define WXUSINGD... |
#include "build.h"
#include "buildDialog.h"
namespace tools
{
//--
BuildDialog::TaskProcess::TaskProcess()
: m_hasFinished(false)
, m_exitCode(0)
{
m_timer.Start();
}
void BuildDialog::TaskProcess::OnTerminate(int pid, int status)
{
m_timer.Pause();
m_hasFinished = true;
m_exitCode = status;
}
... |
#pragma once
namespace tools
{
/// build task
struct BuildTask
{
wxString m_displayName;
wxString m_command;
wxString m_commandLine;
};
/// run list of commands
class BuildDialog : public wxDialog
{
DECLARE_EVENT_TABLE();
public:
BuildDialog(wxWindow* parent);
/// run commands, returns false if... |
#include "build.h"
#include "callTreeList.h"
namespace tools
{
//---
BEGIN_EVENT_TABLE(CallTreeList, wxcode::wxTreeListCtrl)
END_EVENT_TABLE()
//---
CallTreeList::CallTreeList(wxWindow* parent, INavigationHelper* navigator)
: wxcode::wxTreeListCtrl(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_HA... |
#pragma once
#include "../recompiler_core/traceDataFile.h"
#include "../xenon_launcher/xenonUtils.h"
#include "treelistctrl.h"
namespace tools
{
/// tree view for the call stacks at given sequence point
class CallTreeList : public wxcode::wxTreeListCtrl
{
DECLARE_EVENT_TABLE();
public:
CallTreeList(wxWindow*... |
#include "build.h"
#include "callTreeView.h"
#include "../recompiler_core/traceDataFile.h"
namespace tools
{
//---
BEGIN_EVENT_TABLE(CallTreeView, wxScrolledWindow)
EVT_PAINT(CallTreeView::OnPaint)
EVT_ERASE_BACKGROUND(CallTreeView::OnEraseBackground)
EVT_LEFT_DOWN(CallTreeView::OnMouseClick)
EVT_LEFT_UP(Ca... |
#pragma once
#include "../recompiler_core/traceDataFile.h"
#include "../xenon_launcher/xenonUtils.h"
namespace tools
{
// units to use
enum class CallTreeViewUnits
{
Seq,
Ticks,
};
// call tree, displays call stack of the whole trace
class CallTreeView : public wxScrolledWindow
{
DECLARE_EVENT_TABLE();... |
#include "build.h"
#include "choiceDialog.h"
namespace tools
{
BEGIN_EVENT_TABLE(ChoiceDialog, wxDialog)
EVT_BUTTON(XRCID("OK"), ChoiceDialog::OnOK)
EVT_BUTTON(XRCID("Cancel"), ChoiceDialog::OnCancel)
END_EVENT_TABLE();
ChoiceDialog::ChoiceDialog(wxWindow* parent)
{
// load the dialog
wxXmlResource::Get... |
#pragma once
#include "widgetHelpers.h"
namespace tools
{
/// Dialog for selecting one option from many
class ChoiceDialog : public wxDialog
{
DECLARE_EVENT_TABLE();
public:
ChoiceDialog(wxWindow* parent);
~ChoiceDialog();
// edit config, returns true if the Run button was pressed
bool ShowDialog(con... |
#include "build.h"
#include "config.h"
#include "configManager.h"
namespace tools
{
//---------------------------------------------------------------------------
IConfiguration::IConfiguration()
{
ConfigurationManager::GetInstance().RegisterConfigurationEntry(this);
}
IConfiguration::~IConfiguration()
{
C... |
#pragma once
namespace tools
{
//---------------------------------------------------------------------------
/// Configuration element
class IConfiguration
{
public:
IConfiguration();
virtual ~IConfiguration();
//! Save/Load configuration
virtual void OnLoadConfiguration() = 0;
virtual void OnSaveCon... |
#include "build.h"
#include "config.h"
#include "configManager.h"
namespace tools
{
ConfigurationManager::ConfigurationManager()
: m_sessionConfig(wxT("UniversalCompiler"), wxT("RexDex"), wxT("UniversalCompiler.ini"), wxEmptyString, wxCONFIG_USE_LOCAL_FILE)
{}
ConfigurationManager::~ConfigurationManager()
{}
... |
#pragma once
namespace tools
{
/// Editor configuration manager
class ConfigurationManager
{
public:
//! Get config section
inline wxConfigBase* GetConfig() { return &m_sessionConfig; }
public:
//! Flush and save editor configuration file
void SaveConfig();
//! Load configuration from config file
v... |
#include "build.h"
#include "eventListener.h"
#include "eventDispatcher.h"
namespace tools
{
EventDispatcher::EventDispatcher()
: m_listenersRemoved(false)
{}
EventDispatcher& EventDispatcher::GetInstance()
{
static EventDispatcher theInstance;
return theInstance;
}
void EventDispatcher::RegisterListener... |
#pragma once
#include "eventListener.h"
namespace tools
{
//---------------------------------------------------------------------------
/// Event system
class EventDispatcher
{
public:
// get global instance
static EventDispatcher& GetInstance();
// listener register/remove
void RegisterListener(IEven... |
#include "build.h"
#include "eventListener.h"
#include "eventDispatcher.h"
#include "../recompiler_core/internalUtils.h"
namespace tools
{
//---------------------------------------------------------------------------
EventID::EventID()
: m_hash(0)
, m_name(nullptr)
{}
EventID::EventID(const char* name)
: m... |
#pragma once
namespace tools
{
//---------------------------------------------------------------------------
/// ID of the event
class EventID
{
public:
EventID();
EventID(const char* name);
inline const bool operator==(const EventID& other) const
{
return m_hash == other.m_hash;
}
inline const... |
#include "build.h"
#include "findSymbolDialog.h"
#include "../recompiler_core/decodingNameMap.h"
#include "../recompiler_core/decodingEnvironment.h"
#include "../recompiler_core/decodingContext.h"
#include "../recompiler_core/decodingMemoryMap.h"
namespace tools
{
BEGIN_EVENT_TABLE(FindSymbolDialog, wxDialog)
EVT_... |
#pragma once
namespace tools
{
/// Dialog used to search for symbols in project
class FindSymbolDialog : public wxDialog
{
DECLARE_EVENT_TABLE();
public:
FindSymbolDialog(const decoding::Environment& env, wxWindow* parent);
~FindSymbolDialog();
inline const char* GetSelectedSymbolName() const { return m_... |
#include "build.h"
#include "project.h"
#include "memoryView.h"
#include "widgetHelpers.h"
#include "gotoAddressDialog.h"
#include "../recompiler_core/decodingEnvironment.h"
#include "../recompiler_core/image.h"
#include "projectImage.h"
namespace tools
{
BEGIN_EVENT_TABLE(GotoAddressDialog, wxDialog)
EVT_LISTBOX(... |
#pragma once
#include "widgetHelpers.h"
namespace tools
{
class ProjectImage;
class MemoryView;
/// Dialog that allows you to specify the target address
class GotoAddressDialog : public wxDialog
{
DECLARE_EVENT_TABLE();
public:
static const uint32 INVALID_ADDRESS = 0xFFFFFFFF;
public:
GotoAddressDialo... |
#include "build.h"
#include "horizontalView.h"
#include "widgetHelpers.h"
#include "../recompiler_core/platformCPU.h"
#include "../recompiler_core/decodingInstructionInfo.h"
#include "project.h"
#include "../recompiler_core/decodingInstruction.h"
#include "../recompiler_core/decodingContext.h"
namespace tools
{
//--... |
#pragma once
#include "../recompiler_core/traceDataFile.h"
#include "../recompiler_core/traceUtils.h"
//---------------------------------------------------------------------------
namespace tools
{
/// horizontal view of instruction in various moments
class HorizontalRegisterView : public wxPanel
{
DECLARE_EVE... |
#include "build.h"
#include "htmlBuilder.h"
namespace tools
{
HTMLBuilder::HTMLBuilder(const bool bright)
: m_blockStart(false)
{
Open("html");
Open("body");
if (bright)
{
const auto clientColor = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW);
const auto textColor = wxSystemSettings::GetColour(... |
#pragma once
namespace tools
{
/// helper class to build usable HTML document
class HTMLBuilder
{
public:
HTMLBuilder(const bool bright = false);
void Open(const char* block);
void TableColumn(const char* name, int width);
void Attr(const char* name, const char* valueBuf, ...);
void Print(const char... |
#include "build.h"
#include "logWindow.h"
namespace tools
{
wxStopWatch* LogDisplayBuffer::LogMessage::st_timer = nullptr;
LogDisplayBuffer::TLogWindows LogDisplayBuffer::st_logWindows;
wxCriticalSection LogDisplayBuffer::st_logWindowsLock;
BEGIN_EVENT_TABLE(LogDisplayBuffer, wxWindow)
EVT_LEFT_DOWN(LogDispla... |
#pragma once
#include "eventListener.h"
namespace tools
{
/// generic thread safe log window
class LogDisplayBuffer : public wxWindow, public IEventListener
{
DECLARE_EVENT_TABLE();
public:
LogDisplayBuffer(wxWindow* parent);
~LogDisplayBuffer();
enum class MessageType
{
CommandLine=0,
Info,
... |
#include "build.h"
#include "memoryHistoryView.h"
#include "project.h"
#include "../recompiler_core/decodingInstruction.h"
#include "../recompiler_core/decodingContext.h"
namespace tools
{
BEGIN_EVENT_TABLE(MemoryHistoryView, wxPanel)
EVT_LIST_ITEM_ACTIVATED(XRCID("DataList"), MemoryHistoryView::OnListItemActivate... |
#pragma once
#include "../recompiler_core/traceDataFile.h"
#include "../recompiler_core/traceUtils.h"
#include "memoryTraceView.h"
//---------------------------------------------------------------------------
namespace tools
{
/// memory history view
class MemoryHistoryView : public wxPanel
{
DECLARE_EVENT_TAB... |
#include "build.h"
#include "memoryTraceView.h"
#include "../recompiler_core/traceDataFile.h"
namespace tools
{
BEGIN_EVENT_TABLE(MemoryTraceView, wxScrolledWindow)
EVT_PAINT(MemoryTraceView::OnPaint)
EVT_ERASE_BACKGROUND(MemoryTraceView::OnEraseBackground)
EVT_LEFT_DOWN(MemoryTraceView::OnMouseClick)
EVT_LE... |
#pragma once
#include "../recompiler_core/traceMemorySlice.h"
namespace tools
{
/// memory endianess
enum class MemoryEndianess
{
BigEndian,
LittleEndian,
};
/// memory display mode
enum class MemoryDisplayMode
{
Hex8,
Hex16,
Hex32,
Hex64,
Uint8,
Uint16,
Uint32,
Uint64,
Int8,
Int16,
... |
#include "build.h"
#include "memoryView.h"
#include "progressDialog.h"
namespace tools
{
static const char HexChar[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
//-----------------------------------------------------------------------------
MemoryLineEntry::MemoryLineE... |
#pragma once
//-----------------------------------------------------------------------------
#include "memoryViewMapping.h"
#include "eventListener.h"
//-----------------------------------------------------------------------------
namespace tools
{
//---------------------------------------------------------------... |
#include "build.h"
#include "memoryView.h"
#include "memoryViewMapping.h"
//---------------------------------------------------------------------------
namespace tools
{
LineMemoryMapping::Block::Block()
: m_firstLine(0)
, m_firstByte(0)
, m_numLines(0)
, m_numBytes(0)
, m_numEntries(0)
{
}
LineMemory... |
#pragma once
namespace tools
{
//-----------------------------------------------------------------------------
/// Line mapping buffer
/// Offsers mapping from lines to memory offsets
/// Each line can have a length (number of bytes) set
class LineMemoryMapping
{
private:
static const uint32 MAX_LINES_PER_B... |
#include "build.h"
#include "progressDialog.h"
#include "resource.h"
namespace tools
{
BEGIN_EVENT_TABLE(ProgressDialog, wxDialog)
EVT_BUTTON(XRCID("Cancel"), ProgressDialog::OnCancelTask)
EVT_TIMER(wxID_ANY, ProgressDialog::OnRefresh)
END_EVENT_TABLE();
ProgressDialog::ProgressDialog(wxWindow* parent, ILogOut... |
#pragma once
namespace tools
{
/// Long function to run under a progress dialog
typedef std::function<int32(ILogOutput& log)> TLongFunction;
/// Dialog to show when waiting for task group (or groups) to be finishes
class ProgressDialog : public wxDialog, public ILogOutput, public wxThreadHelper
{
DECLARE_EVENT... |
#include "build.h"
#include "project.h"
#include "projectImage.h"
#include "eventDispatcher.h"
#include "../recompiler_core/platformDefinition.h"
#include "../recompiler_core/platformLibrary.h"
#include "../recompiler_core/internalFile.h"
#include "../recompiler_core/decodingEnvironment.h"
#include "../recompiler_core... |
#pragma once
#include "projectAddressHistory.h"
namespace tools
{
/// general project settings
struct ProjectSettings
{
ProjectSettings();
// custom directory for the file system root
// if not specified than the project directory is used instead
std::wstring m_customRoot;
};
/// breakpoint list (gl... |
#include "build.h"
#include "project.h"
#include "projectAddressHistory.h"
#include "../recompiler_core/internalFile.h"
namespace tools
{
ProjectAdddrsesHistory::ProjectAdddrsesHistory()
: m_currentHistoryItem(0)
{
AddrInfo newEntry;
newEntry.m_addr = 0;
newEntry.m_manual = true;
m_addressHistory.push_ba... |
#pragma once
namespace tools
{
/// Address history of the project (similar to the undo stack)
class ProjectAdddrsesHistory
{
public:
struct AddrInfo
{
uint64 m_addr;
bool m_manual;
};
///--
ProjectAdddrsesHistory();
// Reset whole stack to single address
void Reset(const uint64 rvaAddress);
... |
#include "build.h"
#include "projectDynamicTraceData.h"
namespace tools
{
ProjectDynamicTraceData::ProjectDynamicTraceData(const class ProjectTraceData* data)
: m_data(data)
{
}
ProjectDynamicTraceData::~ProjectDynamicTraceData()
{
}
const ProjectDynamicTraceData* ProjectDynamicTraceData::GetDynamicTraceDa... |
#pragma once
namespace tools
{
/// dynamic data for given address
struct ProjectDynamicTraceDataInfo
{
uint32 m_address; // just for reference
uint32 m_hasOtherEntries : 1;
uint32 m_hasBranchesTaken : 1;
uint32 m_hasMemoryData : 1;
std::vector<uint32> m_otherEntries; // other entrie... |
#include "build.h"
#include "project.h"
#include "projectImage.h"
#include "projectAddressHistory.h"
#include "../recompiler_core/image.h"
#include "../recompiler_core/decodingEnvironment.h"
#include "../recompiler_core/decodingContext.h"
#include "../recompiler_core/decodingMemoryMap.h"
#include "../recompiler_core/p... |
#pragma once
#include "projectAddressHistory.h"
namespace tools
{
struct BuildTask;
// project type
enum class ProjectImageType : uint8
{
Application,
DynamicLibrary,
};
// project recompilation quality
enum class ProjectRecompilationMode : uint8
{
Debug, // allows debugging and traces
SafeRelease, ... |
#include "build.h"
#include "project.h"
#include "projectImage.h"
#include "projectWindow.h"
#include "projectImageTab.h"
#include "projectMemoryView.h"
#include "gotoAddressDialog.h"
#include "buildDialog.h"
#include "../recompiler_core/codeGenerator.h"
#include "../recompiler_core/decodingEnvironment.h"
#include "..... |
#pragma once
#include "projectWindow.h"
#include "projectMemoryView.h"
namespace tools
{
class MemoryView;
class ImageMemoryView;
/// tab for the image
class ProjectImageTab : public ProjectTab, public INavigationHelper
{
DECLARE_EVENT_TABLE();
public:
ProjectImageTab(ProjectWindow* parent, wxWindow* tabs... |
#include "build.h"
#include "app.h"
#include "project.h"
#include "projectImage.h"
#include "projectWindow.h"
#include "projectMainTab.h"
#include "../recompiler_core/platformDefinition.h"
#include "../recompiler_core/decodingEnvironment.h"
#include "../recompiler_core/image.h"
#include "buildDialog.h"
#include "../rec... |
#pragma once
namespace tools
{
/// tab for the workspace setup
class ProjectMainTab : public ProjectTab
{
DECLARE_EVENT_TABLE();
public:
ProjectMainTab(ProjectWindow* parent, wxWindow* tabs);
void RefreshImageList();
private:
wxListCtrl* m_imageList;
uint32_t m_activeProjectInstance;
wxString m_act... |
#include "build.h"
#include "memoryView.h"
#include "project.h"
#include "projectMemoryView.h"
#include "projectImage.h"
#include "../recompiler_core/image.h"
#include "../recompiler_core/decodingMemoryMap.h"
#include "../recompiler_core/decodingContext.h"
#include "../recompiler_core/decodingCommentMap.h"
#include "... |
#pragma once
#include "memoryView.h"
namespace tools
{
//-----------------------------------------------------------------------------
/// Memory view for displaying the project data
class ImageMemoryView : public IMemoryDataView
{
public:
ImageMemoryView(const std::shared_ptr<Project>& project, const std::sha... |
#include "build.h"
#include "project.h"
#include "projectTraceTab.h"
#include "projectMemoryView.h"
#include "gotoAddressDialog.h"
#include "projectImage.h"
#include "traceInfoView.h"
#include "traceMemoryView.h"
#include "timeMachineView.h"
#include "registerView.h"
#include "callTreeView.h"
#include "callTreeList.h"
... |
#pragma once
#include "projectWindow.h"
#include "projectMemoryView.h"
#include "timeMachineView.h"
#include "../recompiler_core/traceUtils.h"
namespace tools
{
class MemoryView;
class TraceMemoryView;
class TraceInfoView;
class RegisterView;
class CallTreeView;
class CallTreeList;
class MemoryTraceView;
///... |
#include "build.h"
#include "project.h"
#include "projectImage.h"
#include "projectWindow.h"
#include "projectMainTab.h"
#include "projectImageTab.h"
#include "app.h"
#include "progressDialog.h"
#include "projectTraceTab.h"
#include "gotoAddressDialog.h"
#include "../recompiler_core/traceDataFile.h"
#include "findSymbo... |
#pragma once
namespace tools
{
class ProjectMainTab;
class ProjectImageTab;
class ProjectTraceTab;
// type of the tab
enum class ProjectTabType
{
Main,
Image,
DebugSession,
TraceSession,
};
class ProjectTab;
// main project frame
class ProjectWindow : public wxFrame
{
DECLARE_EVENT_TABLE();
p... |
#include "build.h"
#include "registerView.h"
#include "widgetHelpers.h"
#include "../recompiler_core/platformCPU.h"
namespace tools
{
//---------------------------------------------------------------------------
BEGIN_EVENT_TABLE(RegisterView, wxPanel)
END_EVENT_TABLE()
RegisterView::RegisterView(wxWindow* pare... |
#pragma once
#include "../recompiler_core/traceDataFile.h"
#include "../recompiler_core/traceUtils.h"
#include "../recompiler_core/platformCPU.h"
#include "treelistctrl.h"
//---------------------------------------------------------------------------
namespace tools
{
/// view showing register data
class RegisterV... |
ÿþ/ / { { N O _ D E P E N D E N C I E S } }
/ / M i c r o s o f t V i s u a l C + + g e n e r a t e d i n c l u d e f i l e .
/ / U s e d b y r e s o u r c e s . r c
/ /
# d e f i n e I D D _ P R O G R E S S _ D I A L O G 1 0 1
# d e f i n e I D C _ P ... |
#include "build.h"
#include "startWindow.h"
#include "htmlBuilder.h"
#include "project.h"
#include "../recompiler_core/platformLibrary.h"
#include "../recompiler_core/platformDefinition.h"
#include "config.h"
#include "choiceDialog.h"
#include "progressDialog.h"
namespace tools
{
BEGIN_EVENT_TABLE(StartWindow, wxFr... |
#pragma once
namespace tools
{
/// the start window
class StartWindow : public wxFrame
{
DECLARE_EVENT_TABLE();
public:
StartWindow(App* app);
void RefreshContent();
private:
wxHtmlWindow* m_html;
App* m_app;
void OnNewProject();
void OnOpenProject();
void OnOpenRecentProject(const wxString& p... |
#include "build.h"
#include "timeMachineView.h"
#include "progressDialog.h"
namespace tools
{
//---------------------------------------------------------------------------
static wxPoint RectCenter(const wxRect& rect)
{
return wxPoint(rect.GetLeft() + rect.GetWidth() / 2, rect.GetTop() + rect.GetHeight() / 2);
... |
#pragma once
//-----------------------------------------------------------------------------
#include "../recompiler_core/timemachine.h"
//-----------------------------------------------------------------------------
namespace tools
{
/// Displays code casual history
class TimeMachineView : public wxScrolledWindo... |
#include "build.h"
#include "traceInfoView.h"
#include "widgetHelpers.h"
#include "utils.h"
#include "project.h"
#include "htmlBuilder.h"
#include "../recompiler_core/traceDataFile.h"
#include "../recompiler_core/decodingInstruction.h"
#include "../recompiler_core/decodingEnvironment.h"
#include "../recompiler_core/de... |
#pragma once
#include "../recompiler_core/traceUtils.h"
namespace decoding
{
class Instruction;
}
namespace tools
{
//-----------------------------------------------------------------------------
/// Displays trace info
class TraceInfoView : public wxPanel
{
DECLARE_EVENT_TABLE();
public:
TraceInfoView(w... |
#include "build.h"
#include "traceMemoryView.h"
#include "projectImage.h"
#include "../recompiler_core/decodingEnvironment.h"
#include "../recompiler_core/image.h"
#include "../recompiler_core/traceDataFile.h"
namespace tools
{
TraceMemoryView::TraceMemoryView(const std::shared_ptr<Project>& project, const std::shar... |
#pragma once
#include "projectMemoryView.h"
namespace tools
{
/// memory viewer for the trace
class TraceMemoryView : public ImageMemoryView
{
public:
TraceMemoryView(const std::shared_ptr<Project>& project, const std::shared_ptr<ProjectImage>& projectImage, INavigationHelper* navigator, trace::DataFile& trace... |
/////////////////////////////////////////////////////////////////////////////
// Name: treelistctrl.cpp
// Purpose: multi column tree control implementation
// Created: 01/02/97
// Author: Robert Roebling
// Maintainer: Ronan Chartois (pgriddev)
// Version: $Id: treelistctrl.cpp 3043 2012-07-31... |
/////////////////////////////////////////////////////////////////////////////
// Name: treelistctrl.h
// Purpose: wxTreeListCtrl class
// Created: 01/02/97
// Author: Robert Roebling
// Maintainer: Ronan Chartois (pgriddev)
// Version: $Id: treelistctrl.h 3043 2012-07-31 19:28:14Z pgriddev $
//... |
#include "build.h"
#include "utils.h"
#include "../recompiler_core/platformCPU.h"
namespace Parse
{
bool ParseUrlKeyword(const char*& stream, const char* match)
{
const char* txt = stream;
while (*txt && *txt <= ' ')
++txt;
const uint32 len = strlen(match);
if (0 == strncmp(txt, match, len))
{
str... |
#pragma once
namespace Parse
{
extern bool ParseUrlKeyword(const char*& stream, const char* match);
extern bool ParseUrlPart(const char*& stream, char* outData, const uint32 outDataMax );
extern bool ParseUrlInteger(const char*& stream, int& outInteger);
extern bool ParseUrlAddress(const char*& stream, uint32& out... |
#include "build.h"
#include "widgetHelpers.h"
namespace tools
{
//---------------------------------------------------------------------------
ListBoxUpdate::ListBoxUpdate(wxWindow* parent, const char* name, bool allowEmpty /*=false*/, bool issueEvent /*= true*/)
: m_allowEmpty(allowEmpty)
, m_issueEvent(issueE... |
#pragma once
namespace tools
{
//---------------------------------------------------------------------------
/// Specialized client data
template< typename T >
class TClientData : public wxClientData
{
private:
T m_data;
public:
TClientData(const T& data)
: m_data(data)
{}
inline const T& GetDat... |
/* This file is part of libmspack.
* (C) 2003-2004 Stuart Caie.
*
* The LZX method was created by Jonathan Forbes and Tomi Poutanen, adapted
* by Microsoft Corporation.
*
* libmspack is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License (LGPL) versi... |
/* This file is part of libmspack.
* (C) 2003-2004 Stuart Caie.
*
* The LZX method was created by Jonathan Forbes and Tomi Poutanen, adapted
* by Microsoft Corporation.
*
* libmspack is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License (LGPL) versi... |
/* libmspack -- a library for working with Microsoft compression formats.
* (C) 2003-2004 Stuart Caie <kyzer@4u.net>
*
* libmspack is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License (LGPL) version 2.1
*
* This program is distributed in the hope th... |
/**
* rijndael-alg-fst.c
*
* @version 3.0 (December 2000)
*
* Optimised ANSI C code for the Rijndael cipher (now AES)
*
* @author Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
* @author Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
* @author Paulo Barreto <paulo.barreto@terra.com.br>
*
* Th... |
/**
* rijndael-alg-fst.h
*
* @version 3.0 (December 2000)
*
* Optimised ANSI C code for the Rijndael cipher (now AES)
*
* @author Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
* @author Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
* @author Paulo Barreto <paulo.barreto@terra.com.br>
*
* Th... |
#include "xenonCodeGeneration.h"
#include "xenonPlatform.h"
#include "xenonCPU.h"
#include "../recompiler_core/decodingContext.h"
#include "../recompiler_core/image.h"
#include "../recompiler_core/decodingMemoryMap.h"
#include "../recompiler_core/decodingNameMap.h"
#include "../recompiler_core/codeGenerator.h"
#includ... |
#pragma once
//---------------------------------------------------------------------------
#include "../recompiler_core/build.h"
#include "../recompiler_core/decodingInstruction.h"
#include "../recompiler_core/decodingInstructionInfo.h"
//---------------------------------------------------------------------------
c... |
#include "xenonCPU.h"
#include "../recompiler_core/decodingContext.h"
#include "../recompiler_core/decodingMemoryMap.h"
#include "../recompiler_core/codeGenerator.h"
////#pragma optimize("",off)
extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA(const char* lpOutputString);
#define OV 0x01
#define ... |
#pragma once
//---------------------------------------------------------------------------
#include "../recompiler_core/build.h"
#include "../recompiler_core/platformCPU.h"
#include "../recompiler_core/decodingInstruction.h"
#include "../recompiler_core/decodingInstructionInfo.h"
//----------------------------------... |
#include "xenonImageLoader.h"
#include "xenonPlatform.h"
#include "xenonCPU.h"
#include "../recompiler_core/decodingContext.h"
#include "../recompiler_core/image.h"
#include "../recompiler_core/decodingAddressMap.h"
#include "../recompiler_core/decodingMemoryMap.h"
#include "../recompiler_core/decodingNameMap.h"
#incl... |
#include "xenonImageLoader.h"
#include "rijndael-alg-fst.h"
#include "mspack.h"
#include "lzx.h"
#include <assert.h>
#include "../recompiler_core/internalUtils.h"
#include "../recompiler_core/platformDefinition.h"
#include "../recompiler_core/platformExports.h"
//------------------------------------------------------... |
#pragma once
//---------------------------------------------------------------------------
#include "../recompiler_core/build.h"
#include "xexformat.h"
#include <Windows.h>
#include "../recompiler_core/image.h"
//---------------------------------------------------------------------------
static void UnixTimeToFil... |
#include "xenonCPU.h"
#pragma optimize ("",off)
//---------------------------------------------------------------------------
#define REPORT_DECODING_ERRORS
//---------------------------------------------------------------------------
template< const uint32 bestart, const uint32 length, const bool signExtend = fals... |
#include "xenonPlatform.h"
#include "xenonImageLoader.h"
#include "xenonCPU.h"
//---------------------------------------------------------------------------
DecompilationXenon::DecompilationXenon()
{
}
DecompilationXenon::~DecompilationXenon()
{
}
void DecompilationXenon::Release()
{
// nothing
}
const char* Deco... |
#pragma once
//---------------------------------------------------------------------------
#include "../recompiler_core/build.h"
#include "../recompiler_core/platformDecompilation.h"
#include "xexformat.h"
//---------------------------------------------------------------------------
/// Platform decompilation inte... |
#pragma once
//-----------------------------------------------------------------------------
#pragma pack (push)
#pragma pack (1)
struct DOSHeader
{
char signature[2]; // MZ
short lastsize;
short nblocks;
short nreloc;
short hdrsize;
short minalloc;
short maxalloc;
uint16 ss;... |
#include "build.h" |
#pragma once
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <float.h>
#include <winsock2.h>
#include <Windows.h>
#include <time.h>
#include <mutex>
#include <vector>
#include <string>
#include <deque>
#include <map>
#include <set>
#include <atomic>
#include <unordered_map>
#include "../host_core/b... |
#include "build.h"
#include "dx11AbstractLayer.h"
#include "dx11RenderingWindow.h"
#include "dx11SurfaceManager.h"
#include "dx11TextureManager.h"
#include "dx11GeometryDrawer.h"
#include "dx11StateCache.h"
#include "xenonGPURegisters.h"
//#pragma optimize("",off)
//---------------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.