Lines Matching +full:merge +full:- +full:base
2 # Merge or print the coverage data collected by asan's coverage.
3 # Input files are sequences of 4-byte integers.
4 # We need to merge these integers into a set and then
18 " " + prog_name + " merge FILE [FILE...] > OUTPUT\n" \
54 if magic_words[1-idx] == kMagic64SecondHalf:
56 elif magic_words[1-idx] == kMagic32SecondHalf:
70 size -= 8
72 print >>sys.stderr, "%s: read %d %d-bit PCs from %s" % (prog_name, size * 8 / bits, bits, path)
75 def Merge(files): function
85 s = Merge(files)
96 s = Merge(files)
160 map_idx = bisect.bisect(mem_map_keys, pc) - 1
161 (start, end, base, module_path) = mem_map[map_idx]
166 mem_map_pcs[map_idx].append(pc - base)
168 for ((start, end, base, module_path), pc_list) in zip(mem_map, mem_map_pcs):
171 dst_path = module_path + '.' + os.path.basename(path)[:-4]
184 f_map = f[:-3] + 'map'
189 # - __sanitizer_cov() or __sanitizer_cov_with_check(),
190 # - with call or callq,
191 # - directly or via PLT.
192 cmd = "objdump -d %s | " \
193 …"grep '^\s\+[0-9a-f]\+:.*\scall\(q\|\)\s\+[0-9a-f]\+ <__sanitizer_cov\(_with_check\|\)\(@plt\|\)>'…
194 "grep '^\s\+[0-9a-f]\+' -o" % binary
212 missing = instrumented - covered
214 if (len(missing) > len(instrumented) - len(covered)):
239 elif sys.argv[1] == "merge":