README.md
1 This documentation explains how to install & use the PowerShell binding for Capstone.
2
3
4 Install
5 ------
6
7 Compile the relevant version (x86/x64) of `capstone.dll` and place it in
8 `./Capstone/Lib/Capstone/`.
9
10 Alternatively, pre-compiled DLLs can be obtained from the Capstone homepage
11 at http://capstone-engine.org/download
12
13
14 Usage
15 -----
16
17 To use the PowerShell binding, the entire Capstone folder should be added to
18 one of the PowerShell module directories:
19
20 # Global PSModulePath path
21 %Windir%\System32\WindowsPowerShell\v1.0\Modules
22
23 # User PSModulePath path
24 %UserProfile%\Documents\WindowsPowerShell\Modules
25
26 Once this is done the module can be initialized by typing Import-Module Capstone
27 in a new PowerShell terminal. Further information on the usage of the binding
28 can be obtained with the following command:
29
30 Get-Help Get-CapstoneDisassembly -Full