资源简介
代码片段和文件信息
/*
* api.c
*
* Created on: Jul 20 2011
* Author: erich
*
* This unit will implement the api‘s CE uses
* This will be the main point of interest when porting to another system
*/
//#define _XOPEN_SOURCE 500
//todo for in the far future: Hook syscalls
#define _FILE_OFFSET_BITS 64
#define _LARGEFILE64_SOURCE
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#ifndef __x86_64__
//#include
#endif
#include
#include
#include
#include
#include
#include
#ifndef __x86_64__
#include
//#include
#endif
#ifdef __arm__
#ifndef __ANDROID__
#include
#endif
#endif
//blatantly stolen from the kernel source
#define PTRACE_GETHBPREGS 29
#define PTRACE_SETHBPREGS 30
/* Breakpoint */
#define ARM_BREAKPOINT_EXECUTE 0
/* Watchpoints */
#define ARM_BREAKPOINT_LOAD 1
#define ARM_BREAKPOINT_STORE 2
/* Privilege Levels */
#define ARM_BREAKPOINT_PRIV 1
#define ARM_BREAKPOINT_USER 2
/* Lengths */
#define ARM_BREAKPOINT_LEN_1 0x1
#define ARM_BREAKPOINT_LEN_2 0x3
#define ARM_BREAKPOINT_LEN_4 0xf
#define ARM_BREAKPOINT_LEN_8 0xff
static inline unsigned int encode_ctrl_reg(int mismatch int len int type int privilege int enabled)
{
return (mismatch << 22) | (len << 5) | (type << 3) | (privilege << 1) | enabled;
}
#ifndef __ANDROID__
#if defined(__i386__) || defined(__x86_64__)
#include
#endif
#endif
#include “api.h“
#include “porthelp.h“
#include “ceserver.h“
#include “threads.h“
#include “symbols.h“
#include “context.h“
//#include
sem_t sem_DebugThreadEvent;
pthread_mutex_t memorymutex;
pthread_mutex_t debugsocketmutex;
//pthread_mutex_t mut_RPM;
typedef struct
{
int ReferenceCount;
int processListIterator;
int processCount;
PProcessListEntry processList;
} ProcessList *PProcessList;
typedef struct
{
int ReferenceCount;
int moduleListIterator;
int moduleCount;
PModuleListEntry moduleList;
} ModuleList *PModuleList;
int VerboseLevel=0;
int MEMORY_SEARCH_OPTION = 0;
int ATTACH_PID = 0;
unsigned char SPECIFIED_ARCH = 9;
//Implementation for shared library version ceserver.
int debug_log(const char * format ...)
{
va_list list;
va_start(listformat);
int ret = vprintf(formatlist);
#ifdef __ANDROID__
LOGD(formatlist);
#endif
va_end(list);
return ret;
}
//Implementation for consistency with Android Studio.
long safe_ptrace(int request pid_t pid void * addr void * data)
{
int result
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 151 2021-01-08 14:59 cheat-engine-master\Cheat Engine\lua53\lua53\README
文件 972 2021-01-08 14:59 cheat-engine-master\lua\etc\README
文件 1378 2021-01-08 14:59 cheat-engine-master\lua\README
文件 3125 2021-01-08 14:59 cheat-engine-master\README.md
文件 36 2021-01-08 14:59 cheat-engine-master\Cheat Engine\plugin\QWS\Output\Readme.txt
文件 58 2021-01-08 14:59 cheat-engine-master\Cheat Engine\help\Readme.txt
文件 98 2021-01-08 14:59 cheat-engine-master\Cheat Engine\debuggertest\readme.txt
文件 598 2021-01-08 14:59 cheat-engine-master\dbvm\docs\readme.txt
文件 1305 2021-01-08 14:59 cheat-engine-master\Cheat Engine\Direct x mess\CED3D9Hook\ReadMe.txt
文件 1773 2021-01-08 14:59 cheat-engine-master\Cheat Engine\Direct x mess\DXHookba
文件 1779 2021-01-08 14:59 cheat-engine-master\Cheat Engine\Direct x mess\CED3D10Hook\ReadMe.txt
文件 1779 2021-01-08 14:59 cheat-engine-master\Cheat Engine\Direct x mess\CED3D11Hook\ReadMe.txt
文件 5293 2021-01-08 14:59 cheat-engine-master\Cheat Engine\release\readme.txt
文件 184913 2021-01-08 14:59 cheat-engine-master\Cheat Engine\bin\celua.txt
文件 5987 2021-01-08 14:59 cheat-engine-master\Cheat Engine\docs\ceshare.txt
文件 1882 2021-01-08 14:59 cheat-engine-master\Cheat Engine\bin\commonmodulelist.txt
文件 130 2021-01-08 14:59 cheat-engine-master\DBKKernel\compileinfo.txt
文件 364 2021-01-08 14:59 cheat-engine-master\Cheat Engine\designerimagelist.txt
文件 104 2021-01-08 14:59 cheat-engine-master\Cheat Engine\bin\donottrace.txt
文件 1767 2021-01-08 14:59 cheat-engine-master\Cheat Engine\bin\languages\How to add languages.txt
文件 6036 2021-01-08 14:59 cheat-engine-master\Cheat Engine\release\License.txt
文件 11 2021-01-08 14:59 cheat-engine-master\Cheat Engine\Direct x mess\DXHookba
文件 0 2021-01-08 14:59 cheat-engine-master\Cheat Engine\bin\autorun\Lua files in this folder get executed automatically.txt
文件 7 2021-01-08 14:59 cheat-engine-master\Cheat Engine\bin\languages\ru_RU\name.txt
文件 97 2021-01-08 14:59 cheat-engine-master\Cheat Engine\bin\languages\it_IT\name.txt
文件 1980 2021-01-08 14:59 cheat-engine-master\Cheat Engine\docs\todo.txt
文件 6855 2021-01-08 14:59 cheat-engine-master\dbvm\vmm\docs\vmcall.txt
文件 80 2021-01-08 14:59 cheat-engine-master\Cheat Engine\sfx\level1\Why.txt
文件 1762 2021-01-08 14:59 cheat-engine-master\Cheat Engine\ceserver\extension\.settings\language.settings.xm
文件 283 2021-01-08 14:59 cheat-engine-master\Cheat Engine\bin\languages\language.ini
............此处省略2022个文件信息
相关资源
- openwrt深入学习笔记
- CrySearch内存搜索器源码
- 高性能服务器代码(50_06th_server_thre
- C语言封装的HttpClient接口
- libevent(timeout.cpp)
- CreatBitmap图片合成源码
- 基于opencv的模板匹配代码
- 交互式计算机图形学 第六版 OpenGL源代
- VC++基于OpenGL模拟的一个3维空间模型
- 经典外汇智能交易程序Amazing3.1源码(
- fluent UDF求解圆柱涡致振动问题(VIV
- opencv图片扫描以及校正
- opencv手部轮廓识别以及轨迹识别
- opencv2 3D标定.cpp
- The GNU C Library Reference Manual (1196页)
- 基于opencv漫水填充算法综合
- Effective Morden C++
- MX Component V4编程手册
- opengl绘制汽车.cpp
- 自洽SU3手性夸克-孤子模型中单重子的
- opencv激光中心线的提取
- 手性摄动理论中双迷人重子的辐射衰
- 自协变重子手性扰动理论中自旋1/2双
- easySize使用方法和代码
- MFC 日历控件 万年历 Calendar自绘
- Effective Morden C++ 高清文字版
- OpenCV Computer Vision Application Programming
- 基于图割的图像分割OpenCV+MFC实现
- 识别魔方颜色
- TensorFlow 内核剖析
评论
共有 条评论