Print this page
12826 update to smatch 0.6.1-rc1-il-6
   1 Smatch
   2 

   3 1.  Building Smatch
   4 2.  Using Smatch
   5 3.  Smatch vs Sparse
   6 

   7 


   8 Section 1:  Building Smatch
   9 ---------------------------
  10 
  11 Smatch requires sqlite3.  It requires the binaries and the C, Perl and
  12 Python libraries for sqlite3.
  13 
  14 apt-get install sqlite3 libsqlite3-dev libdbd-sqlite3-perl
  15 
  16 Smatch is easy to build.  Just type `make`.  There isn't an install process
  17 right now so just run it from the build directory.
  18 
  19 
  20 Section 2:  Using Smatch
  21 ------------------------
  22 
  23 Smatch can be used with a cross function database. It's not mandatory to
  24 build the database but it's a useful thing to do.  Building the database
  25 for the kernel takes 2-3 hours on my computer.  For the kernel you build
  26 the database with:
  27 


   1 Smatch
   2 
   3 0.  Introduction
   4 1.  Building Smatch
   5 2.  Using Smatch
   6 3.  Smatch vs Sparse
   7 
   8 Section 0: Introduction
   9 
  10 The Smatch mailing list is <smatch@vger.kernel.org>.
  11 
  12 Section 1:  Building Smatch
  13 ---------------------------
  14 
  15 Smatch requires sqlite3.  It requires the binaries and the C, Perl and
  16 Python libraries for sqlite3.
  17 
  18 apt-get install sqlite3 libsqlite3-dev libdbd-sqlite3-perl
  19 
  20 Smatch is easy to build.  Just type `make`.  There isn't an install process
  21 right now so just run it from the build directory.
  22 
  23 
  24 Section 2:  Using Smatch
  25 ------------------------
  26 
  27 Smatch can be used with a cross function database. It's not mandatory to
  28 build the database but it's a useful thing to do.  Building the database
  29 for the kernel takes 2-3 hours on my computer.  For the kernel you build
  30 the database with:
  31