* Apply zlowram's book typos patch default tip
authorpancake
Sat Nov 05 00:46:43 2011 +0100 (6 months ago)
changeset 1294b761aed74540
parent 1293 4c0b6e3347a8
* Apply zlowram's book typos patch
* Minor fixes to build in osx
doc/radare.but
src/dbg/arch/i386.c
src/rabin/dietmach0.h
     1.1 --- a/doc/radare.but	Mon Jan 17 18:13:45 2011 +0100
     1.2 +++ b/doc/radare.but	Sat Nov 05 00:46:43 2011 +0100
     1.3 @@ -80,7 +80,7 @@
     1.4  
     1.5  You can get radare from the website http://radare.nopcode.org/
     1.6  
     1.7 -There are binary packages for multiple operating systems and GNU/Linux distributions (ubuntu, maemo, gentoo, windows, iphone, etc..) But I hardly encourage you to get the sources and compile them yourself to better understand the dependencies and have the source code and examples more accessible.
     1.8 +There are binary packages for multiple operating systems and GNU/Linux distributions (ubuntu, maemo, gentoo, windows, iphone, etc..) But I highly encourage you to get the sources and compile them yourself to better understand the dependencies and have the source code and examples more accessible.
     1.9  
    1.10  I try to publish a new stable release every month and sometimes publish nightly tarballs.
    1.11  
    1.12 @@ -171,7 +171,7 @@
    1.13  
    1.14  Lot of people ping me some times for a sample usage session of radare to help to understand how the shell works and how to perform the most common tasks like disassembling, seeking, binary patching or debugging.
    1.15  
    1.16 -I hardly encourage you to read the rest of this book to help you understand better how everything works and enhace your skills, the learning curve of radare is usually a bit harder at the beggining, but after an hour of using it you will easily understand how most of the things work and how to get them cooperate together :)
    1.17 +I highly encourage you to read the rest of this book to help you understand better how everything works and enhace your skills, the learning curve of radare is usually a bit harder at the beggining, but after an hour of using it you will easily understand how most of the things work and how to get them cooperate together :)
    1.18  
    1.19  For walking thru the binary file you will use three different kind of basic actions: seek, print and alterate.
    1.20  
     2.1 --- a/src/dbg/arch/i386.c	Mon Jan 17 18:13:45 2011 +0100
     2.2 +++ b/src/dbg/arch/i386.c	Sat Nov 05 00:46:43 2011 +0100
     2.3 @@ -40,6 +40,10 @@
     2.4  //#include <sys/ptrace.h>
     2.5  #endif
     2.6  
     2.7 +#if __APPLE__
     2.8 +#define R_RIP R_EIP
     2.9 +#endif
    2.10 +
    2.11  #if __linux__
    2.12  #include <sys/procfs.h>
    2.13  #endif
     3.1 --- a/src/rabin/dietmach0.h	Mon Jan 17 18:13:45 2011 +0100
     3.2 +++ b/src/rabin/dietmach0.h	Sat Nov 05 00:46:43 2011 +0100
     3.3 @@ -130,8 +130,10 @@
     3.4  #define u8 unsigned char
     3.5  #endif
     3.6  
     3.7 -typedef unsigned int vm_offset_t;
     3.8 -typedef unsigned int vm_size_t;
     3.9 +//typedef unsigned int vm_offset_t;
    3.10 +//typedef unsigned int vm_size_t;
    3.11 +#define vm_offset_t unsigned int
    3.12 +#define vm_size_t unsigned int
    3.13  //typedef unsigned int boolean_t;
    3.14  typedef int cpu_type_t;
    3.15  typedef int cpu_subtype_t;