Skip to content

Commit

Permalink
docs: number items from 1, not 0
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed May 2, 2016
1 parent 483ec41 commit 6df438d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions docs/COMPILE-NIX.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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/

Expand Down
8 changes: 4 additions & 4 deletions docs/COMPILE-WINDOWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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/

Expand Down

0 comments on commit 6df438d

Please sign in to comment.