From 6df438d12583f0136f80513d9359a9d4a80ec43b Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh <aquynh@gmail.com> Date: Mon, 2 May 2016 09:00:55 +0800 Subject: [PATCH] docs: number items from 1, not 0 --- docs/COMPILE-NIX.md | 10 +++++----- docs/COMPILE-WINDOWS.md | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/COMPILE-NIX.md b/docs/COMPILE-NIX.md index 5e59f37..de4e582 100644 --- a/docs/COMPILE-NIX.md +++ b/docs/COMPILE-NIX.md @@ -2,7 +2,7 @@ This documentation explains how to build & install Keystone on all kind of nix O For Windows, see [COMPILE-WINDOWS.md](COMPILE-WINDOWS.md) -0. Dependency +1. Dependency CMake is required to build keystone. @@ -15,7 +15,7 @@ CMake is required to build keystone. $ sudo apt-get install cmake -1. From the root directory of Keystone source, compile as a dynamic library +2. From the root directory of Keystone source, compile as a dynamic library with the following commands. $ mkdir build @@ -44,7 +44,7 @@ CMake is required to build keystone. $ make -j8 -2. Right after building, install Keystone. +3. Right after building, install Keystone. $ sudo make install @@ -59,14 +59,14 @@ CMake is required to build keystone. (The source of "kstool" is in the directory "kstool/kstool") -3. Test Keystone with "kstool" like below. +4. Test Keystone with "kstool" like below. $ kstool x32 "add eax, ebx" Run "kstool" without any option to find out how to use this handy tool. -4. Learn more on how to code your own tools with our samples. +5. Learn more on how to code your own tools with our samples. For C sample code, see code in directory samples/ diff --git a/docs/COMPILE-WINDOWS.md b/docs/COMPILE-WINDOWS.md index 83dd6d6..f772046 100644 --- a/docs/COMPILE-WINDOWS.md +++ b/docs/COMPILE-WINDOWS.md @@ -2,7 +2,7 @@ This documentation explains how to build Keystone on Windows. For *nix OS, see [COMPILE-NIX.md](COMPILE-NIX.md) -0. Dependency +1. Dependency CMake is required as dependency. Download & install cmake from http://www.cmake.org @@ -11,7 +11,7 @@ Microsoft Visual Studio is required for compiling. Download & install it from https://www.visualstudio.com -1. Open the Visual Studio Command Promplt, and from the root directory +2. Open the Visual Studio Command Promplt, and from the root directory of Keystone source, do: $ mkdir build @@ -47,14 +47,14 @@ https://www.visualstudio.com (Find source of "kstool" in directory "kstool/kstool") -2. Test Keystone with "kstool" like below. +3. Test Keystone with "kstool" like below. $ kstool.exe x32 "add eax, ebx" Run "kstool.exe" without any option to find out how to use this handy tool. -3. Learn more on how to code your own tools with our samples. +4. Learn more on how to code your own tools with our samples. For C sample code, see code in directory samples/ -- GitLab