资源简介
CrySearch内存搜索器源码
代码片段和文件信息
#include “AddressTable.h“
#include “BackendGlobalDef.h“
// Address table xml serialization logic.
void AddressTable::xmlize(xmlIO& s)
{
// Retrieve CrySearch‘s major and minor version number to flush into the file.
WORD major;
WORD minor;
CrySearchGetMajorMinorVersion(&major &minor);
const DWORD appname[] = {0x53797243 0x63726165 0x68}; //“CrySearch“
String appnameStr = (char*)appname;
String procName = mMemoryScanner->GetProcessName();
// Write the address table to the xml serializer.
s
(appnameStr + “Version“ Format(“%i.%i“ major minor))
(“ProcessName“ procName)
(“Entries“ this->mEntries)
(“MemoryDissections“ this->mDissections)
;
}
AddressTable::AddressTable()
{
}
AddressTable::~AddressTable()
{
}
// Removes a set of entries from the address table.
void AddressTable::Remove(const Vector& entries)
{
this->mEntries.Remove(entries);
}
// Removes all address table entries from the address table.
void AddressTable::Clear()
{
this->mEntries.Clear();
}
// Finds an entry in the table.
#ifdef _WIN64
const int AddressTable::Find(const __int64 address const CCryDataType valueType) const
{
const int count = this->mEntries.GetCount();
for (int i = 0; i < count; ++i)
{
if ((this->mEntries[i].Address == address) && this->mEntries[i].ValueType == valueType)
{
return i;
}
}
return -1;
}
#else
const int AddressTable::Find(const int address const CCryDataType valueType) const
{
const int count = this->mEntries.GetCount();
for (int i = 0; i < count; ++i)
{
if ((this->mEntries[i].Address == address) && this->mEntries[i].ValueType == valueType)
{
return i;
}
}
return -1;
}
#endif
// Returns the amount of address table entries in the table.
const int AddressTable::GetCount() const
{
return this->mEntries.GetCount();
}
// Returns the filename that the address table will save the file to.
const String& AddressTable::GetFileName() const
{
return this->mSavedFileName;
}
// Sets the filename that the address table file will save the file to.
void AddressTable::SetFileName(const char* str)
{
this->mSavedFileName = str;
}
// Retrieves a memory dissection entry at the specified index.
MemoryDissectionEntry* const AddressTable::GetDissection(const int index)
{
return &this->mDissections[index];
}
// Gets the amount of dissection entries currently in the address table.
const int AddressTable::GetDissectionCount() const
{
return this->mDissections.GetCount();
}
// Adds a new memory dissection entry to the address table.
void AddressTable::AddDissection(const char* pFriendlyName const SIZE_T baseAddress const DWORD memorySize)
{
this->mDissections.Add(MemoryDissectionEntry(pFriendlyName baseAddress memorySize));
}
// Removes a memory dissection entry from the address table and destroys associated resources.
void AddressTable::RemoveDissection(const int index)
{
// Remove the dissection entry from the list.
this->mDissections.Remove(index);
}
// Retr
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\
文件 2518 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\.gitattributes
文件 958 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\.gitignore
文件 9025 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\AddressTable.cpp
文件 7387 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\AddressTable.h
文件 3279 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\AsyncDisassembler.cpp
文件 861 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\AsyncDisassembler.h
文件 4978 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\BackendGlobalDef.h
目录 0 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\
目录 0 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\
目录 0 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\
文件 18795 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\arm.h
文件 28542 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\arm64.h
文件 29510 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\capstone.h
文件 4386 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\evm.h
文件 12320 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\m680x.h
文件 13762 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\m68k.h
文件 17047 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\mips.h
文件 4010 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\platform.h
文件 25638 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\ppc.h
文件 11297 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\sparc.h
文件 14335 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\systemz.h
文件 8262 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\tms320c64x.h
文件 42841 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\x86.h
文件 4919 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\capstone\xcore.h
文件 3212 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\platform.h
目录 0 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\windowsce\
文件 303 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\windowsce\intrin.h
文件 3020 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\include\windowsce\stdint.h
目录 0 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\lib\
目录 0 2019-05-05 08:02 evolution536-crysearch-memory-scanner-b9999bbc51b3\Capstone\lib\x64\
............此处省略239个文件信息
- 上一篇:数据结构 图的遍历源代码
- 下一篇:新编Windows API参考大全.doc
相关资源
- FTP客户端源码(c++)
- MFC视频播放器源码(支持avi/wma/mp3等格
- CreatBitmap图片合成源码
- vs2008 can总线通讯源码
- 宠物管理系统课程设计(源码+数据库
- Windows扩展命令程序(源码)
- c语言实现火车订票系统(控制台)源
- 鼠标连点器(附源码)
- c++ 简易贪吃蛇源码
- 杀毒软件源码
- 经典外汇智能交易程序Amazing3.1源码(
- 微型文件系统源码(FatFs)
- 海康私有流分析接口源码(附使用说
- VC6 USB开发源码
- SVM算法实现(源码+文档)
- 俄罗斯方块游戏源码(Tetris)
- 步进电机控制(源码+文档)
- c++ 定时关机程序源码
- c++ 账务系统源码
- c语言课程设计:客房登记系统源码
- 贪吃蛇大作战(c源码+报告文档)
- 学生成绩管理系统(c源码)
- 职工信息管理系统源码(控制台)
- 吕鑫vc6c++数据结构视频源码
- 智商超高的中国象棋游戏源码(C++版
- 家谱管理系统(C++)源码以及文档
- 派克变换VC++源码(附文档)
- QR二维码C++源码 算法实现
- visual c++高级编程及其项目应用开发源
- C++餐饮管理系统源码(控制台)
评论
共有 条评论