Modify the readme to be more explicit about the build process

git-svn-id: file:///home/svn/framework3/trunk@5667 4d416f70-5f16-0410-b530-b9f4589650da
unstable
pusscat 2008-09-17 19:24:03 +00:00
parent 53e9dc5b92
commit c4a58660aa
1 changed files with 12 additions and 10 deletions

View File

@ -1,35 +1,37 @@
Byakugan - Increase Your Sight Byakugan - Increase Your Sight
Pusscat Lin0xx Pusscat Lin0xx
NOTE: If you trust me, skip to 4a. - I've already included built libs. NOTE: If you trust me, skip to 4. - I've already included built libs.
A. Building / Installation A. Building / Installation
1. Requirements 1. Requirements
a. Windows Server 2003 DDK a. WDK
b. Debugging Tools For Windows b. Debugging Tools For Windows
- Install to C:\windbg\ - or injectsu will not be found - Install to C:\windbg\ - or injectsu will not be found
- Make sure to install with the custom setting - Make sure to install with the custom setting
- Explicitly choose to install the SDK - Explicitly choose to install the SDK
2. Fixing the WinDBG SDK 2. Building the libraries
a. Find the sdk/inc/wdbgexts.h file in the windbg directory a. Open a WDK build environment for the proper windows version
b. Add the following like to the file after the _WDBGEXTS_ definition:
#define __field_ecount_opt(x) ()
3. Building the libraries
a. Open a Windows Server 2003 Free x86 Build Environment (from the DDK)
b. Go to the byakugan base directory b. Go to the byakugan base directory
c. type: setup c. type: setup
4. Installation 3. Installation (self built)
a. copy injectsu\i386\injectsu.dll C:\windbg\ a. copy injectsu\i386\injectsu.dll C:\windbg\
b. copy bin\detoured.dll C:\windows\system32\ b. copy bin\detoured.dll C:\windows\system32\
c. copy i386\byakugan.dll C:\windbg\ c. copy i386\byakugan.dll C:\windbg\
4. Installation (Prebuilt binaries)
a. copy bin\<platform>\injectsu.dll C:\windbg\
b. copy bin\<platform>\detoured.dll C:\windows\system32\
c. copy bin\<platform>\byakugan.dll C:\windbg\
B. Deployment: B. Deployment:
1. Start up windbg and attach to (or start up) a new process 1. Start up windbg and attach to (or start up) a new process
a. Ensure that both process are at the same priv level, a. Ensure that both process are at the same priv level,
so they can both access the named pipe so they can both access the named pipe
b. Load the byakugan dll: b. Load the byakugan dll:
!load C:\windbg\byakugan.dll !load byakugan.dll
c. Display options with !byakugan command if desired c. Display options with !byakugan command if desired
C. Testing: C. Testing: