-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskip_list.txt
339 lines (270 loc) · 8.28 KB
/
skip_list.txt
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
# -*- sh -*-
# This file is used by codegraph, codemap, codequery, and syncweb-indexer
#----------------------------------------------------------------------------
# GLOBAL settings
#----------------------------------------------------------------------------
dir_element: 386
#dir_element: arm
dir: .pfff
#file: pfff_macros.h
#file: kernel/codegraph.h
#file: windows/codegraph.h
#----------------------------------------------------------------------------
# XIX view
#----------------------------------------------------------------------------
# backward compatible stuff, so skip when you want to have a "principia" view
file: include/io/stdio.h
dir: APE
dir_element: ape
# this is used only by s9
#dir: ape/lib_portability
# ocaml (symlink)
#dir: languages/fork-ocaml/otherlibs/num
#dir: languages/fork-ocaml/otherlibs/graph
#dir: languages/fork-ocaml/otherlibs/db
#dir: languages/fork-ocaml/asmcomp
#dir: languages/fork-ocaml/asmrun
# mostly a copy of the one in compiler-generators, so skip it
#dir: languages/fork-ocaml/yacc
#dir: languages/fork-ocaml/debugger
# efuns (symlink)
# mostly a copy of the stdlib in fork-ocaml already included
#dir: editors/fork-efuns/external
# mmm (symlink)
#----------------------------------------------------------------------------
# INCLUDES adhoc skip list
#----------------------------------------------------------------------------
# can skip just when focus on kernel because reexported by lib.h
#file: include/libc.h
#file: include/bio.h
#file: include/string.h
#file: include/ctype.h
#file: include/regexp.h
#file: include/mp.h
#file: include/flate.h
#file: include/pool.h
#file: include/trace.h
# often cause warnings
file: include/db/ndb.h
file: include/ipc/9p.h
#file: include/devel/internals/tos.h
# because of Sym dupe, and also R
#file: include/common.out.h
#file: include/a.out.h
#file: include/elf.h
#file: include/mach.h
#file: include/ar.h
#file: include/bootexec.h
# because of opcodes dupes
file: include/obj/8.out.h
# because of S dupe
#file: include/draw.h
#file: include/memdraw.h
#file: include/memlayer.h
#file: include/frame.h
# because of Ref dupe, also Mouse dupe
#file: include/thread.h
#file: include/keyboard.h
#file: include/graphics/input/mouse.h
#file: include/cursor.h
## use userspace channels definition
file: include/graphics/input/event.h
#file: include/ip.h
# actually needed by kernel, or stuff like rio
#file: include/fcall.h
## introduce backward deps, anyway code not used by kernel
#file: include/disk.h
#file: include/complete.h
#file: include/plumb.h
#file: include/auth.h
#file: include/authsrv.h
#file: include/libsec.h
#----------------------------------------------------------------------------
# PROGRAM settings (see each program specialized setting a bit more below)
#----------------------------------------------------------------------------
# ----- when focus on assembler -----
#file: include/stdio.h
#file: include/a.out.h
#file: include/draw.h
#file: include/thread.h
# ----- when focus on linker -----
# dupe Sym
#file: include/exec/a.out.h
#file: include/obj/8.out.h
# dont forget to include also 8l/elf.c and 8l/elf.h when building codegraph
# ----- when focus on compiler -----
#file: include/a.out.h
#file: include/mach.h
#file: include/elf.h
# enable back mach.h, tos.h
# would like to uncomment cc/y.tab.c below for cg, but does not parse
# ----- when focus on machine -----
# and comment dir_element: 386 and include/386
#file: include/common.out.h
#file: include/arm/5.out.h
#file: include/elf.h
# ----- when focus on rio -----
# isalnum() dupe, but then miss other isxxx() function
#file: include/core/ctype.h
#dir: kernel/devices/screen/user
#file: kernel/devices/screen/386/cga.c
# dupe with kernel/devices/screen/386/screen.c
#file: lib_graphics/libmemdraw/hwdraw.c
#dir_element: scripts
#dir_element: tests
#dir: windows/libpanel/tests
#dir: windows/apps/faces/tests/
# will generate some dupes, e.g. eresized, but nice to have apps
#dir: windows/apps
#dir: windows/apps/faces/
# have threadmain dupe with rio
#file: windows/apps/screenlock.c
# ----- when focus on kernel -----
#file: include/core/libc.h
#file: include/core/syscall.h
#file: include/io/bio.h
#file: include/strings/string.h
#file: include/core/ctype.h
#file: include/strings/regexp.h
#file: include/debug/mach.h
#file: include/ipc/thread.h
#file: include/graphics/input/keyboard.h
#file: include/graphics/input/mouse.h
#file: include/io/disk.h
#dir: kernel/network/
##file: include/ipc/fcall.h generate some backward deps on KQLock
## but if not include generate many undefined errors
## contains dupes
#file: lib_graphics/libdraw/mouse.c
#file: lib_graphics/libmemdraw/iprint.c
#file: lib_graphics/libmemdraw/hwdraw.c
#dir_element: tests
#dir_element: scripts
## use libc
#file: lib_graphics/libdraw/alloc.c
#file: lib_graphics/libdraw/bytesperline.c
#file: lib_graphics/libdraw/scroll.c
#file: lib_graphics/libdraw/event.c
#file: lib_graphics/libdraw/getrect.c
#file: lib_graphics/libdraw/egetrect.c
#file: lib_graphics/libdraw/keyboard.c
#file: lib_graphics/libdraw/init.c
#file: lib_graphics/libdraw/newwindow.c
#file: lib_graphics/libdraw/menuhit.c
#file: lib_graphics/libdraw/emenuhit.c
#file: lib_graphics/libdraw/font.c
#file: lib_graphics/libdraw/mkfont.c
#file: lib_graphics/libdraw/openfont.c
#file: lib_graphics/libdraw/buildfont.c
#file: lib_graphics/libdraw/getsubfont.c
#file: lib_graphics/libdraw/readsubfont.c
#file: lib_graphics/libdraw/subfontname.c
#file: lib_graphics/libdraw/unloadimage.c
#file: lib_graphics/libdraw/writeimage.c
#file: lib_graphics/libdraw/writecolmap.c
#file: lib_graphics/libdraw/readcolmap.c
#file: lib_graphics/libdraw/writesubfont.c
#file: lib_graphics/libmemdraw/openmemsubfont.c
#file: lib_graphics/libmemdraw/write.c
##for codemap when want to filter user-level code.
dir_element: user
#----------------------------------------------------------------------------
# DIRECTORIES skipping
#----------------------------------------------------------------------------
# INCLUDE
#todo? spread .h in respective dirs a la ocaml? or use OPAM model of findlib?
#dir: include
#dir: include/386
#dir: include/arm
# LIBS
#dir: lib_core
file: lib_core/libthread/386.c
#file: lib_core/libthread/arm.c
dir: lib_core/libthread/tests/
#dir: lib_graphics
#dir: lib_math
#dir: lib_misc
#dir: lib_networking
# some dupes with kernel/.../netif.c, could factorize probably
file: lib_networking/libip/bo.c
# HARDWARE
#dir: machine
#when want to process 5i/
#file: include/386/8.out.h
#dir:machine/5i
# ASSEMBLERS/COMPILERS/GENERATORS/LINKERS
#dir: assemblers
dir: assemblers/8a
#dir: assemblers/5a
# can't parse right now, and anyway generated code
file: assemblers/8a/y.tab.c
file: assemblers/5a/y.tab.c
#dir: compilers
dir: compilers/8c
#dir: compilers/5c
file: compilers/cc/y.tab.c
dir: compilers/5c/tests
#dir: compilers/hoc
# pb building
dir: compilers/cpp
dir: compilers/hoc
#dir: generators
file: generators/lex/y.tab.c
#dir: linkers
dir: linkers/8l
#dir: linkers/5l
file: debuggers/libmach/8.c
file: debuggers/libmach/8db.c
file: debuggers/libmach/8obj.c
#file: linkers/libmach/5.c
#file: linkers/libmach/5db.c
#file: linkers/libmach/5obj.c
# INTERPRETERS
#dir: interpreters/s9
# OPERATING SYSTEM
#dir: kernel
file: kernel/devices/keyboard/latin1.c
file: kernel/devices/keyboard/latin1.h
# use libc stack, not kernel stack
#dir: kernel/init/user/boot/
# huge files, contains binary code of /boot programs, for better codemap
file: kernel/conf/qemu.root.s
file: sys/src/9/pc/qemu.root.s
#dir: shells
file: shells/rc/y.tab.c
# there is also a x.tab.h, so you need to skip at least one of them
file: shells/rc/y.tab.h
#dir: windows
dir: windows/plumb
# parse error, advanced macro uses, no closing paren
file: lib_graphics/libmemdraw/replmul.c
dir: lib_graphics/libimg
# ?? dupe I made just for linking issue when I wanted a libgeom.a vs libdraw.a
# with the kernel?
file: lib_graphics/libdraw/replclipr_geom.c
# DEVELOPER TOOLS
#dir: builders
#dir: debuggers
file: debuggers/acid/y.tab.c
# dupes with kernel, Proc, Page.
#dir: debuggers/snap
#dir: profilers
#dir: editors
dir: editors/acme
dir: editors/sam
#dir: editors/fork-efuns
# APPLICATIONS
#dir: utilities
file: utilities/string/grep/y.tab.c
# pb building, with ifdef
dir: applications/media/mp3dec
dir: applications
# pb building
dir: browsers
# MISC
dir: database
dir: typesetting
dir: networking
dir: security
dir: ROOT
dir: docs