File indexing completed on 2024-05-19 05:42:35
0001 PKG_LIST = [ 0002 'x86_64-linux-gnu', 0003 'asm-generic', 0004 'c++', 0005 'netinet', 0006 'arpa', 0007 'net', 0008 'linux', 0009 'clang', 0010 'rpc', 0011 'unicode', 0012 'xcb', 0013 ] 0014 FILE_LIST = [ 0015 'alloca.h', 0016 'assert.h', 0017 'features.h', 0018 'stdc-predef.h', 0019 'stdio.h', 0020 'stdlib.h', 0021 'wchar.h', 0022 'endian.h', 0023 'pthread.h', 0024 'sched.h', 0025 'time.h', 0026 'strings.h', 0027 'ctype.h', 0028 'errno.h', 0029 'limits.h', 0030 'stdint.h', 0031 'string.h', 0032 'locale.h', 0033 'wctype.h', 0034 'math.h', 0035 'signal.h', 0036 'termios.h', 0037 'unistd.h', 0038 'dirent.h', 0039 'fcntl.h', 0040 'grp.h', 0041 'pwd.h', 0042 'fcntl.h', 0043 'libintl.h', 0044 'zlib.h', 0045 'zconf.h', 0046 'poll.h', 0047 'inttypes.h', 0048 'netdb.h', 0049 'crypt.h', 0050 'dlfcn.h', 0051 'libudev.h', 0052 'semaphore.h', 0053 'malloc.h', 0054 'mntent.h', 0055 'paths.h', 0056 'setjmp.h', 0057 'syslog.h', 0058 'iconv.h', 0059 'regex.h', 0060 'pty.h', 0061 'termio.h', 0062 'utmp.h', 0063 'fstab.h', 0064 'ifaddrs.h', 0065 'libgen.h', 0066 'resolv.h', 0067 'memory.h', 0068 ] 0069 0070 0071 def accept(path): 0072 for pkgName in PKG_LIST: 0073 if f'/{pkgName}/' in path: 0074 return True 0075 for fileName in FILE_LIST: 0076 if path.endswith(f'/{fileName}'): 0077 return True 0078 return False 0079 0080 0081 def process(path, addPkg): 0082 pkgName = "SystemLibraries" 0083 addPkg(pkgName, None, None, None) 0084 return pkgName