File: README.developer

package info (click to toggle)
firebuild 0.8.5.1-1
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 2,552 kB
  • sloc: cpp: 13,693; ansic: 6,086; python: 2,313; sh: 261; makefile: 40; awk: 33
file content (15 lines) | stat: -rw-r--r-- 611 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Test wether Firebuild intercepts all syscalls:
firebuild -i strace  -o/tmp/ls.trace ls
awk 'BEGINFILE {SKIP=0}
     /FIREBUILD.*intercept-begin/ {SKIP=1; next}
     /FIREBUILD.*intercept-end/ {SKIP=0; next}
     /execve\(/ {SKIP=0; print FILENAME ": " $0; next}
     {if (FNR == 1) {SKIP=1; next;}
      if (SKIP == 0 ) { print FILENAME ": " $0;} else {next;}}'  /tmp/ls.trace

The source code follows Google C++ Style Guide (more or less :-))

Emacs code indentation style:
(require 'google-c-style)
(add-hook 'c-mode-common-hook 'google-set-c-style)
(add-hook 'c-mode-common-hook 'google-make-newline-indent)