File: README.md

package info (click to toggle)
capstone 5.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 58,188 kB
  • sloc: ansic: 96,086; cpp: 67,489; cs: 29,510; python: 25,829; pascal: 24,412; java: 15,582; ml: 14,473; makefile: 1,275; sh: 479; ruby: 386
file content (30 lines) | stat: -rwxr-xr-x 880 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
This documentation explains how to install & use the PowerShell binding for Capstone.


Install
------

Compile the relevant version (x86/x64) of `capstone.dll` and place it in
`./Capstone/Lib/Capstone/`.

Alternatively, pre-compiled DLL’s can be obtained from the Capstone homepage
at http://capstone-engine.org/download


Usage
-----

To use the PowerShell binding, the entire Capstone folder should be added to
one of the PowerShell module directories:

    # Global PSModulePath path
    %Windir%\System32\WindowsPowerShell\v1.0\Modules

    # User PSModulePath path
    %UserProfile%\Documents\WindowsPowerShell\Modules

Once this is done the module can be initialized by typing “Import-Module Capstone”
in a new PowerShell terminal. Further information on the usage of the binding
can be obtained with the following command:

    Get-Help Get-CapstoneDisassembly -Full