README.md
1This documentation explains how to install & use the PowerShell binding for Capstone.
2
3
4Install
5------
6
7Compile the relevant version (x86/x64) of `capstone.dll` and place it in
8`./Capstone/Lib/Capstone/`.
9
10Alternatively, pre-compiled DLL’s can be obtained from the Capstone homepage
11at http://capstone-engine.org/download
12
13
14Usage
15-----
16
17To use the PowerShell binding, the entire Capstone folder should be added to
18one 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
26Once this is done the module can be initialized by typing “Import-Module Capstone”
27in a new PowerShell terminal. Further information on the usage of the binding
28can be obtained with the following command:
29
30 Get-Help Get-CapstoneDisassembly -Full