forked from Thomas-Tsai/partclone
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHACKING
More file actions
60 lines (51 loc) · 1.08 KB
/
HACKING
File metadata and controls
60 lines (51 loc) · 1.08 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Static Analyzer:
libtoolize --force --copy
aclocal -I m4
autoconf
autoheader
automake --add-missing
scan-build -k -v ./configure \
--prefix=/usr \
--disable-static \
--enable-extfs \
--disable-reiserfs \
--enable-fat \
--enable-hfsp \
--enable-btrfs \
--disable-ncursesw \
--enable-ntfs \
--enable-exfat \
--enable-f2fs \
--enable-minix \
--disable-nilfs2 \
--enable-xfs
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 \
--disable-static \
--enable-extfs \
--disable-reiserfs \
--enable-fat \
--enable-hfsp \
--enable-btrfs \
--disable-ncursesw \
--enable-ntfs \
--enable-exfat \
--enable-f2fs \
--enable-minix \
--disable-nilfs2 \
--enable-xfs
make clean
make -j4
cd tests
run testcase