Benign repos Download

asm.go

Go loop omits its continuation conditionSource contains low-bit mask syntax
SHA-2565ffe2baec3d255b72f42117776ad2919603c2aabb37e72c8ff4f0dd7b7f64e44

Evidence

English function-word token "the" lines 10–15
10:14… Copyright © 2000-2007 Lucent Technologies Inc. and others
11// Portions Copyright © 2009 The Go Authors. All rights reserved.
12//
13// Permission is hereby granted, free of charge, to any person obtaining a copy
14// of this software and associated documentation files (the "Software"), to deal
15// in the Software withou …
imports cmd/internal/objabi lines 27–45
27:61… RWISE, ARISING FROM,
28// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
29// THE SOFTWARE.
30
31package arm64
32
33import (
34 "cmd/internal/objabi"
35 "cmd/internal/sys"
36 "cmd/link/internal/ld"
37 "cmd/link/internal/loader"
38 "cmd/link/internal/sym"
39 "debug/elf"
40 "fmt"
41 "log"
42)
43
44func gentext(ctxt *ld.Link, ldr *loader.Loader) {
45 initfunc, addmoduledata := ld.PrepareAd …
Source contains low-bit mask syntax lines 1088–1092
1088:23… + r.Add() - ((ldr.SymValue(s) + int64(r.Off())) &^ 0xfff)
1089 if t&1 != 0 {
1090 ldr.Errorf(s, "invalid address: %x for relocation type: R_AARCH64_LDST16_ABS_LO12_NC", t)
1091 }
1092 o0 := (uint32(t&0xfff …
Megabyte-scale size constant in source lines 1262–1272
⋯4 lines
1266const (
1267 machoRelocLimit = 1 << 23
1268 peRelocLimit = 1 << 20
1269)
1270
1271func gensymlate(ctxt *ld.Link, ldr *loader.Loader) {
1272 // When external linking on darwin, Mach-O relocation has only signed …
Go source contains an unbounded loop lines 1377–1382
1377:31… euse it. otherwise create a new one.
1378 var tramp loader.Sym
1379 for i := 0; ; i++ {
1380 oName := ldr.SymName(rs)
1381 name := oName + fmt.Sprintf("%+x-tramp%d", r.Add(), i)
1382 tramp = ldr.LookupOrCreateSym(name, …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.