/external/capstone/bindings/java/ |
D | Test.java | 4 import capstone.Capstone; 50 Capstone.CS_ARCH_X86, in main() 51 Capstone.CS_MODE_16, in main() 52 Capstone.CS_OPT_SYNTAX_INTEL, in main() 57 Capstone.CS_ARCH_X86, in main() 58 Capstone.CS_MODE_32, in main() 59 Capstone.CS_OPT_SYNTAX_ATT, in main() 64 Capstone.CS_ARCH_X86, in main() 65 Capstone.CS_MODE_32, in main() 70 Capstone.CS_ARCH_X86, in main() [all …]
|
D | TestMips.java | 4 import capstone.Capstone; 25 public static Capstone cs; 35 public static void print_ins_detail(Capstone.CsInsn ins) { in print_ins_detail() 64 …new Test.platform(Capstone.CS_ARCH_MIPS, Capstone.CS_MODE_MIPS32 + Capstone.CS_MODE_BIG_ENDIAN, he… in main() 65 …new Test.platform(Capstone.CS_ARCH_MIPS, Capstone.CS_MODE_MIPS64 + Capstone.CS_MODE_LITTLE_ENDIAN,… in main() 75 cs = new Capstone(test.arch, test.mode); in main() 76 cs.setDetail(Capstone.CS_OPT_ON); in main() 77 Capstone.CsInsn[] all_ins = cs.disasm(test.code, 0x1000); in main()
|
D | TestArm.java | 4 import capstone.Capstone; 27 public static Capstone cs; 37 public static void print_ins_detail(Capstone.CsInsn ins) { in print_ins_detail() 110 … new Test.platform(Capstone.CS_ARCH_ARM, Capstone.CS_MODE_ARM, hexString2Byte(ARM_CODE), "ARM"), in main() 111 …new Test.platform(Capstone.CS_ARCH_ARM, Capstone.CS_MODE_THUMB, hexString2Byte(THUMB_CODE), "Thumb… in main() 112 …new Test.platform(Capstone.CS_ARCH_ARM, Capstone.CS_MODE_THUMB, hexString2Byte(ARM_CODE2), "Thumb-… in main() 113 …new Test.platform(Capstone.CS_ARCH_ARM, Capstone.CS_MODE_THUMB, Capstone.CS_OPT_SYNTAX_NOREGNAME, … in main() 123 cs = new Capstone(test.arch, test.mode); in main() 124 cs.setDetail(Capstone.CS_OPT_ON); in main() 127 Capstone.CsInsn[] all_ins = cs.disasm(test.code, 0x1000); in main()
|
D | TestX86.java | 4 import capstone.Capstone; 26 public static Capstone cs; 43 public static void print_ins_detail(Capstone.CsInsn ins) { in print_ins_detail() 65 if ( (cs.mode & Capstone.CS_MODE_16) == 0) { in print_ins_detail() 140 …new Test.platform(Capstone.CS_ARCH_X86, Capstone.CS_MODE_16, hexString2Byte(X86_CODE16), "X86 16bi… in main() 141 …new Test.platform(Capstone.CS_ARCH_X86, Capstone.CS_MODE_32, Capstone.CS_OPT_SYNTAX_ATT, hexString… in main() 142 …new Test.platform(Capstone.CS_ARCH_X86, Capstone.CS_MODE_32, hexString2Byte(X86_CODE32), "X86 32 (… in main() 143 …new Test.platform(Capstone.CS_ARCH_X86, Capstone.CS_MODE_64, hexString2Byte(X86_CODE64), "X86 64 (… in main() 153 cs = new Capstone(test.arch, test.mode); in main() 154 cs.setDetail(Capstone.CS_OPT_ON); in main() [all …]
|
D | TestSparc.java | 4 import capstone.Capstone; 25 public static Capstone cs; 35 public static void print_ins_detail(Capstone.CsInsn ins) { in print_ins_detail() 71 …new Test.platform(Capstone.CS_ARCH_SPARC, Capstone.CS_MODE_BIG_ENDIAN, hexString2Byte(SPARC_CODE),… in main() 72 …new Test.platform(Capstone.CS_ARCH_SPARC, Capstone.CS_MODE_BIG_ENDIAN + Capstone.CS_MODE_V9, hexSt… in main() 82 cs = new Capstone(test.arch, test.mode); in main() 83 cs.setDetail(Capstone.CS_OPT_ON); in main() 84 Capstone.CsInsn[] all_ins = cs.disasm(test.code, 0x1000); in main()
|
D | TestPpc.java | 4 import capstone.Capstone; 24 public static Capstone cs; 34 public static void print_ins_detail(Capstone.CsInsn ins) { in print_ins_detail() 71 …new Test.platform(Capstone.CS_ARCH_PPC, Capstone.CS_MODE_BIG_ENDIAN, hexString2Byte(PPC_CODE), "PP… in main() 81 cs = new Capstone(test.arch, test.mode); in main() 82 cs.setDetail(Capstone.CS_OPT_ON); in main() 83 Capstone.CsInsn[] all_ins = cs.disasm(test.code, 0x1000); in main()
|
D | TestXcore.java | 4 import capstone.Capstone; 23 public static Capstone cs; 33 public static void print_ins_detail(Capstone.CsInsn ins) { in print_ins_detail() 64 …new Test.platform(Capstone.CS_ARCH_XCORE, Capstone.CS_MODE_BIG_ENDIAN, hexString2Byte(XCORE_CODE),… in main() 74 cs = new Capstone(test.arch, test.mode); in main() 75 cs.setDetail(Capstone.CS_OPT_ON); in main() 76 Capstone.CsInsn[] all_ins = cs.disasm(test.code, 0x1000); in main()
|
D | TestSystemz.java | 4 import capstone.Capstone; 24 public static Capstone cs; 34 public static void print_ins_detail(Capstone.CsInsn ins) { in print_ins_detail() 71 new Test.platform(Capstone.CS_ARCH_SYSZ, 0, hexString2Byte(SYSZ_CODE), "SystemZ"), in main() 81 cs = new Capstone(test.arch, test.mode); in main() 82 cs.setDetail(Capstone.CS_OPT_ON); in main() 83 Capstone.CsInsn[] all_ins = cs.disasm(test.code, 0x1000); in main()
|
D | TestArm64.java | 4 import capstone.Capstone; 24 public static Capstone cs; 34 public static void print_ins_detail(Capstone.CsInsn ins) { in print_ins_detail() 100 …new Test.platform(Capstone.CS_ARCH_ARM64, Capstone.CS_MODE_ARM, hexString2Byte(ARM64_CODE), "ARM-6… in main() 110 cs = new Capstone(test.arch, test.mode); in main() 111 cs.setDetail(Capstone.CS_OPT_ON); in main() 112 Capstone.CsInsn[] all_ins = cs.disasm(test.code, 0x2c); in main()
|
/external/capstone/bindings/powershell/Capstone/ |
D | Capstone.psm1 | 284 $VerCount = [System.BitConverter]::GetBytes($([Capstone]::cs_version($null,$null))) in Get-CapstoneDisassembly() 316 $CallResult = [Capstone]::cs_open($Architecture,$Mode,[ref]$DisAsmHandle) in Get-CapstoneDisassembly() 339 $CallResult = [Capstone]::cs_option($DisAsmHandle, 1, $CS_OPT_SYNTAX) in Get-CapstoneDisassembly() 343 $CallResult = [Capstone]::cs_close([ref]$DisAsmHandle) in Get-CapstoneDisassembly() 358 $CallResult = [Capstone]::cs_option($DisAsmHandle, 2, $CS_OPT) in Get-CapstoneDisassembly() 362 $CallResult = [Capstone]::cs_close([ref]$DisAsmHandle) in Get-CapstoneDisassembly() 370 $Count = [Capstone]::cs_disasm($DisAsmHandle, $Bytes, $Bytes.Count, $Address, 0, [ref]$InsnHandle) in Get-CapstoneDisassembly() 405 $NamePointer = [Capstone]::cs_reg_name($DisAsmHandle, $DetailCast.regs_read[$r]) in Get-CapstoneDisassembly() 412 $NamePointer = [Capstone]::cs_reg_name($DisAsmHandle, $DetailCast.regs_write[$r]) in Get-CapstoneDisassembly() 433 $CallResult = [Capstone]::cs_close([ref]$DisAsmHandle) in Get-CapstoneDisassembly() [all …]
|
/external/capstone/ |
D | COMPILE_CMAKE.TXT | 1 This documentation explains how to compile Capstone with CMake, focus on 4 To compile Capstone on *nix, see COMPILE.TXT. 6 To compile Capstone on Windows using Visual Studio, see COMPILE_MSVC.TXT. 17 (0) Tailor Capstone to your need. 19 Out of 8 archtitectures supported by Capstone (Arm, Arm64, Mips, PPC, Sparc, 35 Besides, Capstone also allows some more customization via following macros. 42 By default, Capstone use system dynamic memory management, and both DIET and X86_REDUCE 51 (1) CMake allows you to generate different generators to build Capstone. Below is 52 some examples on how to build Capstone on Windows with CMake. 55 (*) To build Capstone using Nmake of Windows SDK, do: [all …]
|
D | COMPILE_MSVC.TXT | 1 This documentation explains how to compile Capstone on Windows using 4 To compile Capstone on *nix, see COMPILE.TXT 6 To compile Capstone with CMake, see COMPILE_CMAKE.TXT 10 Capstone requires no prerequisite packages with default configurations, so it is 16 If you wish to embed Capstone in a kernel driver, Visual Studio 2013 or newer 20 (0) Tailor Capstone to your need. 22 Out of 8 archtitectures supported by Capstone (Arm, Arm64, Mips, PPC, Sparc, 31 to customize Capstone library, as followings. 45 Besides, Capstone also allows some more customization via following macros. 53 By default, Capstone use system dynamic memory management, and both DIET and X86_REDUCE [all …]
|
D | COMPILE.TXT | 1 This documentation explains how to compile, install & run Capstone on MacOSX, 12 Capstone requires no prerequisite packages, so it is easy to compile & install. 16 (0) Tailor Capstone to your need. 18 Out of 8 archtitectures supported by Capstone (Arm, Arm64, Mips, PPC, Sparc, 24 The other way of customize Capstone without having to edit config.mk is to 26 Capstone supports 5 options, as followings. 36 By default, Capstone uses system dynamic memory management, both DIET and X86_REDUCE 58 - On 64-bit OS, run the command below to cross-compile Capstone for 32-bit binary: 64 (2) Install Capstone on *nix 66 To install Capstone, run: [all …]
|
D | README | 1 Capstone is a disassembly framework with the target of becoming the ultimate 5 Capstone offers some unparalleled features: 39 See COMPILE.TXT file for how to compile and install Capstone. 44 See docs/README for how to customize & program your own tools with Capstone. 55 or source code of Capstone, please attach file LICENSE.TXT with your products.
|
D | HACK.TXT | 1 Capstone source is organized as followings. 18 ├── contrib <- Code contributed by community to help Capstone integration 25 ├── suite <- Development test tools - for Capstone developers only 38 Then test Capstone with cstool, for example:
|
D | nmake.bat | 1 :: Capstone disassembler engine (www.capstone-engine.org) 2 :: Build Capstone libs (capstone.dll & capstone.lib) on Windows with CMake & Nmake
|
D | ChangeLog | 1 This file details the changelog of Capstone. 13 - Support to embedded Capstone into MacOS kernel 63 - Better support for embedding Capstone into Windows kernel drivers 64 - Support to embedded Capstone into MacOS kernel 181 - Now it is possible to compile Capstone with older C compilers, such as 309 - Support SKIPDATA mode, so Capstone can jump over unknown data and keep going 319 - Java: add close() method to be used to deinitialize a Capstone object when 389 - Fix a bug in X86 when Capstone cannot handle short instruction. 405 - Fix a crash issue when embedding Capstone into OSX kernel. This should 406 also enable Capstone to be embedded into other systems with limited stack [all …]
|
/external/capstone/bindings/powershell/ |
D | README.md | 1 This documentation explains how to install & use the PowerShell binding for Capstone. 8 `./Capstone/Lib/Capstone/`. 10 Alternatively, pre-compiled DLL’s can be obtained from the Capstone homepage 17 To use the PowerShell binding, the entire Capstone folder should be added to 26 Once this is done the module can be initialized by typing “Import-Module Capstone”
|
/external/capstone/bindings/ |
D | README | 14 - Capstone-Vala: Vala binding (by Pancake). 18 - Node-Capstone: NodeJS binding (by Jason Oster). 30 - Capstone-RS: Rust binding (by Richo Healey). 34 - Capstone.NET: .NET framework binding (by Ahmed Garhy). 36 https://github.com/9ee1/Capstone.NET 38 - CapstoneJ: High level Java wrapper for Capstone-java (by Keve Müller). 50 - C# binding (by Matt Graeber). Note: this is only for Capstone v2.0.
|
/external/capstone/xcode/ |
D | README.md | 1 Xcode Project for Capstone 4 The *Capstone.xcodeproj* project is an Xcode project that mimicks the Visual 5 Studio solution for Capstone. It embeds nicely into Xcode workspaces. It has 13 8 * CapstoneStatic, producing `libcapstone.a`, Capstone as a static library; 9 * CapstoneDynamic, producing `libcapstone.dylib`, Capstone as a shared library; 22 the same name. Currently, if you integrate the Capstone project in a workspace
|
/external/capstone/bindings/python/ |
D | README.txt | 1 To install Capstone, you should run `pip install capstone`. 3 If you would like to build Capstone with just the source distribution, without 11 If you don't want to build your own copy of Capstone, you can use a precompiled 19 Capstone is a disassembly framework with the target of becoming the ultimate 23 Capstone offers some unparalleled features: 57 or source code of Capstone, please attach file LICENSE.TXT with your products.
|
/external/capstone/docs/ |
D | README | 1 Documentation of Capstone disassembly framework. 7 * How to compile & install Capstone. 47 * Sample applications on how to embed Capstone into Windows kernel driver. 52 * Sample application on how to embed Capstone into Mac OSX Kext (kernel).
|
/external/capstone/contrib/windows_kernel/ |
D | README | 2 needed by Capstone. The missing functions are: 8 integrate Capstone with your Windows-kernel drivers using C++. 11 See the full example with Capstone integration at https://github.com/zer0mem/libc.git
|
/external/capstone/suite/ |
D | README | 1 This directory contains some tools used by developers of Capstone project. 20 Compile Capstone for all platforms (*nix32, clang, cygwin, cross-compile) & 28 This script compares the output of Capstone with LLVM's llvm-mc with the
|
/external/capstone/contrib/cs_driver/ |
D | README | 1 This directory contains a sample project for using Capstone from a Windows 5 For prerequisites to compile Capstone for drivers, see COMPILE_MSVC.TXT.
|