File: HACKING

package info (click to toggle)
partclone 0.3.40%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,188 kB
  • sloc: ansic: 136,520; xml: 2,107; sh: 1,908; makefile: 515; asm: 383; perl: 106; sed: 16
file content (35 lines) | stat: -rw-r--r-- 951 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Static Analyzer:

libtoolize --force --copy
aclocal -I m4
autoconf
autoheader
automake --add-missing

scan-build -k -v -V ./configure --prefix=/usr --enable-extfs --disable-reiserfs --enable-fat \
    --enable-hfsp --enable-btrfs --enable-ncursesw --enable-ntfs \
    --enable-exfat --enable-f2fs --enable-minix --disable-nilfs2 --enable-xfs \
    --sbindir=/usr/bin
make clean
scan-build -k -v -V make -j4


Sanitizer:

export CC=clang
export CFLAGS="$CFLAGS -Wall -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer -g"
export LDFLAGS="$LDFLAGS -fsanitize=address -fsanitize=undefined"

libtoolize --force --copy
aclocal -I m4
autoconf
autoheader
automake --add-missing

./configure --prefix=/usr --enable-extfs --disable-reiserfs --enable-fat \
    --enable-hfsp --enable-btrfs --enable-ncursesw --enable-ntfs \
    --enable-exfat --enable-f2fs --enable-minix --disable-nilfs2 --enable-xfs \
    --sbindir=/usr/bin
make clean
make -j4