Microsoft Research Detours Package, Version 1.5 (Build 46)
DISCLAIMER AND LICENSE:
=======================
The entire Detours package is covered by copyright law.
Copyright 1995-2001, Microsoft Corporation. Portions of the Detours package
may be covered by patents owned by Microsoft Corporation. All rights reserved.
Usage of the Detours package is covered under the End User License Agreement in
the file License.doc. Your usage of Detours implies your acceptance of the End
User License Agreement. A copy of the license in ASCII can be found in the
file LICENSE.TXT. A complete list of redistributable files is in REDIST.TXT.
INTRODUCTION:
=============
The file detours.doc contains a paper describing the Detours package.
COMPATIBILITY:
==============
All Detours functions are compatible with all x86 version of Windows NT,
Windows 2000, and Windows XP. However, under Windows 95, Windows 98, and
Windows ME, the DetourFunction* APIS do not work unless the program is
running under a debugger (the process was created with the DEBUG_PROCESS flag
on the call to the CreateProcess* APIs). Since most programs are not typically
run under a debugger, the DetourFunction* APIs do not work for most programs
on Win9x platforms.
While Windows NT, Windows 2000 and Windows XP always map DLLs into processes
with copy-on-write mapping (which Detours needs in order to patch the binary
image), Windows 95, Windows 98, and Windows ME only map DLLs with copy-on-write
if the process was started with the DEBUG_PROCESS flag on the call to
CreateProcess.
The DLL injection functions are not compatible with either Windows 95,
Windows 98, or Windows ME as the Win9x platforms do not supports the
CreateRemoteThread API.
The binary rewriting function for adding payloads and modifying import tables
are fully compatible with Windows 95, Windows 98, Windows ME, Windows NT,
Windows 2000, and Windows XP.
BUILD INSTRUCTIONS:
===================
To build the libraries and the sample applications, type "nmake".
VERIFYING THE INSTALL AND BUILD:
================================
After building the libraries and sample applications, you can verify that
the Detours packet works on your Windows OS by running the Test.bat program
in the samples\slept directory. The output of Test.bat should be similar
to that contained in the file samples\slept\NORMAL.TXT.
MANIFEST:
=========
The Detours package current consists of the Detours library (with or without
source code) and a number of sample programs. Descriptions of the sample
programs can be found in samples\README.TXT
NOTES:
======
When writing detour functions, it is imperative that the binary-calling
convention of the detour and trampoline functions match exactly the
binary-calling convention of the target function.
In a few cases, when the sizeof() a return value is smaller than sizeof(int),
C or C++ compilers will generate non-compatible binary-calling conventions by
not widening the return value to an int as is customary for small return values.
The result is a syntactically-identical, but not binary-compatible, detour
function. In most cases, the problem can be fixed be having the detour function
return a value widened to a sizeof(int) type. Developers are urged to exercise
caution, and should insure that correct code is generated by their C or C++
compiler for detour functions with small return values.
When attaching a DLL to a binary with Detours DLL import APIs, the DLL must
export one procedure with export ordinal 1. The exported procedure is not
called by the application, but it used as the import target.
BUG REPORTS:
============
Please send detailed bug reports to detours@microsoft.com. Submitted bug
reports may be used to fix bugs in future versions of the Detours package.
The detours@microsoft.com email address is not a product support alias.
没有合适的资源?快使用搜索试试~ 我知道了~
Detours1.5
共100个文件
cpp:38个
makefile:23个
bat:19个
5星 · 超过95%的资源 需积分: 13 49 下载量 98 浏览量
2008-12-08
14:00:53
上传
评论
收藏 524KB RAR 举报
温馨提示
微软开发的hook api库,1.5版,比较稳定。
资源推荐
资源详情
资源评论
收起资源包目录
Detours1.5 (100个子文件)
Test.Bat 1KB
Test.Bat 136B
Test.Bat 111B
testn.bat 88B
Test.Bat 78B
Test.Bat 78B
Test.Bat 78B
Test.Bat 78B
Test.Bat 78B
Test.Bat 78B
Test.Bat 54B
Test.Bat 53B
Test.Bat 53B
Test.Bat 31B
Test.Bat 18B
Test.Bat 18B
Test.Bat 18B
Test.Bat 18B
Test.Bat 18B
_win32.cpp 1.22MB
cping.cpp 58KB
tracetcp.cpp 55KB
tracereg.cpp 52KB
image.cpp 47KB
disasm.cpp 35KB
traceser.cpp 35KB
syelogd.cpp 23KB
detours.cpp 23KB
syelog.cpp 18KB
tracelnk.cpp 17KB
tracemem.cpp 13KB
creatwth.cpp 13KB
traceapi.cpp 12KB
sltests.cpp 9KB
setdll.cpp 6KB
firstexc.cpp 6KB
dumpi.cpp 6KB
sleepinj.cpp 5KB
heapa.cpp 4KB
disas.cpp 4KB
excep.cpp 4KB
member.cpp 3KB
sltestp.cpp 3KB
sltest.cpp 3KB
withdll.cpp 3KB
dumpe.cpp 3KB
dtest.cpp 3KB
injdll.cpp 2KB
einst.cpp 2KB
verify.cpp 2KB
edll3.cpp 2KB
slteste.cpp 2KB
slept.cpp 1KB
sleepold.cpp 1KB
edll2.cpp 1KB
edll1.cpp 1KB
sleepnew.cpp 944B
cping.dat 0B
Detours.doc 201KB
detours.h 21KB
detours.h 21KB
disasm.h 4KB
syelog.h 4KB
slept.h 445B
iping.idl 697B
detours.lib 175KB
common.mak 658B
Makefile 3KB
Makefile 3KB
Makefile 2KB
Makefile 2KB
Makefile 2KB
Makefile 2KB
Makefile 1KB
Makefile 1KB
Makefile 975B
Makefile 937B
Makefile 935B
Makefile 929B
Makefile 827B
Makefile 826B
Makefile 804B
Makefile 796B
Makefile 775B
Makefile 775B
Makefile 773B
Makefile 769B
Makefile 760B
Makefile 752B
Makefile 688B
detours.pdb 108KB
Detours.pdf 56KB
Detours.ppt 337KB
DetoursConference.ppt 66KB
LICENSE.TXT 12KB
NORMAL.TXT 7KB
README.TXT 4KB
README.TXT 3KB
REDIST.TXT 2KB
README.TXT 1KB
共 100 条
- 1
资源评论
- wmsf0072015-03-11好东西,下载来看看。研究
- panxiangrong2021-05-12很好用 谢谢
- LoveAthrun20082012-07-12没有MSI安装,需要手动配置,比较麻烦
- LOCKLOSE2013-07-23下重复了.不过也是可以用的.
- imliuxin2013-12-03经典hook库,我经常使用。
libaiguo
- 粉丝: 2
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功