@ttsc/darwin-x64 0.13.1 → 0.14.0-dev.20260528

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/bin/go/VERSION +2 -2
  2. package/bin/go/bin/go +0 -0
  3. package/bin/go/bin/gofmt +0 -0
  4. package/bin/go/pkg/tool/darwin_amd64/asm +0 -0
  5. package/bin/go/pkg/tool/darwin_amd64/cgo +0 -0
  6. package/bin/go/pkg/tool/darwin_amd64/compile +0 -0
  7. package/bin/go/pkg/tool/darwin_amd64/cover +0 -0
  8. package/bin/go/pkg/tool/darwin_amd64/fix +0 -0
  9. package/bin/go/pkg/tool/darwin_amd64/link +0 -0
  10. package/bin/go/pkg/tool/darwin_amd64/preprofile +0 -0
  11. package/bin/go/pkg/tool/darwin_amd64/vet +0 -0
  12. package/bin/go/src/archive/tar/format.go +0 -6
  13. package/bin/go/src/archive/tar/reader.go +4 -24
  14. package/bin/go/src/builtin/builtin.go +4 -13
  15. package/bin/go/src/crypto/fips140/fips140.go +0 -6
  16. package/bin/go/src/crypto/internal/fips140/drbg/rand.go +75 -1
  17. package/bin/go/src/crypto/tls/conn.go +3 -7
  18. package/bin/go/src/crypto/tls/handshake_client_tls13.go +2 -2
  19. package/bin/go/src/crypto/tls/handshake_server_tls13.go +2 -2
  20. package/bin/go/src/crypto/tls/key_schedule.go +3 -24
  21. package/bin/go/src/crypto/x509/constraints.go +33 -33
  22. package/bin/go/src/crypto/x509/verify.go +13 -28
  23. package/bin/go/src/go/types/builtins.go +2 -2
  24. package/bin/go/src/go/types/signature.go +0 -3
  25. package/bin/go/src/go/types/under.go +3 -3
  26. package/bin/go/src/go.mod +1 -1
  27. package/bin/go/src/go.sum +2 -2
  28. package/bin/go/src/html/template/attr_string.go +2 -3
  29. package/bin/go/src/html/template/context.go +1 -21
  30. package/bin/go/src/html/template/element_string.go +2 -3
  31. package/bin/go/src/html/template/escape.go +2 -16
  32. package/bin/go/src/html/template/js.go +0 -1
  33. package/bin/go/src/html/template/state_string.go +3 -5
  34. package/bin/go/src/html/template/transition.go +6 -43
  35. package/bin/go/src/internal/buildcfg/zbootstrap.go +1 -1
  36. package/bin/go/src/internal/godebugs/table.go +0 -1
  37. package/bin/go/src/internal/poll/fd_windows.go +38 -64
  38. package/bin/go/src/internal/poll/sendfile_windows.go +1 -3
  39. package/bin/go/src/internal/runtime/syscall/linux/defs_linux_386.go +0 -1
  40. package/bin/go/src/internal/runtime/syscall/linux/defs_linux_amd64.go +0 -1
  41. package/bin/go/src/internal/runtime/syscall/linux/defs_linux_arm.go +0 -1
  42. package/bin/go/src/internal/runtime/syscall/linux/defs_linux_arm64.go +0 -1
  43. package/bin/go/src/internal/runtime/syscall/linux/defs_linux_loong64.go +0 -1
  44. package/bin/go/src/internal/runtime/syscall/linux/defs_linux_mips64x.go +0 -1
  45. package/bin/go/src/internal/runtime/syscall/linux/defs_linux_mipsx.go +0 -1
  46. package/bin/go/src/internal/runtime/syscall/linux/defs_linux_ppc64x.go +0 -1
  47. package/bin/go/src/internal/runtime/syscall/linux/defs_linux_riscv64.go +0 -1
  48. package/bin/go/src/internal/runtime/syscall/linux/defs_linux_s390x.go +0 -1
  49. package/bin/go/src/internal/runtime/syscall/linux/syscall_linux.go +0 -14
  50. package/bin/go/src/internal/syscall/unix/at.go +17 -0
  51. package/bin/go/src/internal/syscall/unix/at_sysnum_linux.go +1 -2
  52. package/bin/go/src/internal/syscall/windows/at_windows.go +3 -20
  53. package/bin/go/src/internal/syscall/windows/registry/key.go +2 -10
  54. package/bin/go/src/internal/syscall/windows/registry/value.go +1 -5
  55. package/bin/go/src/internal/syscall/windows/syscall_windows.go +0 -4
  56. package/bin/go/src/internal/syscall/windows/types_windows.go +0 -82
  57. package/bin/go/src/internal/syscall/windows/zsyscall_windows.go +0 -27
  58. package/bin/go/src/net/cgo_unix.go +1 -4
  59. package/bin/go/src/net/http/doc.go +1 -0
  60. package/bin/go/src/net/http/h2_bundle.go +3 -3
  61. package/bin/go/src/net/http/httputil/reverseproxy.go +0 -14
  62. package/bin/go/src/net/lookup_windows.go +3 -16
  63. package/bin/go/src/net/mail/message.go +9 -20
  64. package/bin/go/src/net/sendfile.go +0 -2
  65. package/bin/go/src/net/sendfile_stub.go +0 -2
  66. package/bin/go/src/net/sendfile_windows.go +0 -3
  67. package/bin/go/src/net/url/url.go +16 -22
  68. package/bin/go/src/os/dir_darwin.go +2 -2
  69. package/bin/go/src/os/dir_unix.go +2 -2
  70. package/bin/go/src/os/file.go +3 -0
  71. package/bin/go/src/os/file_unix.go +5 -9
  72. package/bin/go/src/os/removeall_at.go +2 -6
  73. package/bin/go/src/os/removeall_unix.go +8 -0
  74. package/bin/go/src/os/removeall_windows.go +4 -0
  75. package/bin/go/src/os/root_unix.go +0 -1
  76. package/bin/go/src/os/stat.go +0 -3
  77. package/bin/go/src/reflect/value.go +2 -3
  78. package/bin/go/src/runtime/defs_linux_386.go +3 -4
  79. package/bin/go/src/runtime/defs_linux_arm.go +3 -4
  80. package/bin/go/src/runtime/defs_linux_mips64x.go +1 -1
  81. package/bin/go/src/runtime/defs_linux_mipsx.go +4 -5
  82. package/bin/go/src/runtime/malloc.go +53 -1
  83. package/bin/go/src/runtime/mem.go +9 -104
  84. package/bin/go/src/runtime/metrics/doc.go +0 -5
  85. package/bin/go/src/runtime/os_linux.go +0 -62
  86. package/bin/go/src/runtime/os_linux32.go +24 -14
  87. package/bin/go/src/runtime/os_linux64.go +0 -2
  88. package/bin/go/src/runtime/print.go +4 -16
  89. package/bin/go/src/runtime/race/README +9 -9
  90. package/bin/go/src/runtime/race/internal/amd64v1/race_darwin.syso +0 -0
  91. package/bin/go/src/runtime/race/internal/amd64v1/race_freebsd.syso +0 -0
  92. package/bin/go/src/runtime/race/internal/amd64v1/race_linux.syso +0 -0
  93. package/bin/go/src/runtime/race/internal/amd64v1/race_windows.syso +0 -0
  94. package/bin/go/src/runtime/race/internal/amd64v3/race_linux.syso +0 -0
  95. package/bin/go/src/runtime/race/race_darwin_arm64.syso +0 -0
  96. package/bin/go/src/runtime/race/race_linux_arm64.syso +0 -0
  97. package/bin/go/src/runtime/race/race_linux_loong64.syso +0 -0
  98. package/bin/go/src/runtime/race/race_linux_s390x.syso +0 -0
  99. package/bin/go/src/syscall/syscall_windows.go +1 -5
  100. package/bin/go/src/vendor/modules.txt +1 -1
  101. package/bin/ttsc +0 -0
  102. package/bin/ttscserver +0 -0
  103. package/package.json +2 -2
  104. package/bin/go/src/crypto/internal/fips140/drbg/entropy_fips140.go +0 -97
  105. package/bin/go/src/crypto/internal/fips140/drbg/entropy_wasm.go +0 -11
  106. package/bin/go/src/internal/poll/fstatat_unix.go +0 -22
  107. package/bin/go/src/internal/syscall/unix/fchmodat_linux.go +0 -51
  108. package/bin/go/src/internal/syscall/unix/fchmodat_other.go +0 -29
  109. package/bin/go/src/os/statat.go +0 -24
  110. package/bin/go/src/os/statat_other.go +0 -12
  111. package/bin/go/src/os/statat_unix.go +0 -20
  112. package/bin/go/src/runtime/race/internal/amd64v1/race_darwin.patch +0 -63
  113. package/bin/go/src/runtime/race/internal/amd64v1/race_freebsd.patch +0 -63
  114. package/bin/go/src/runtime/race/internal/amd64v1/race_linux.patch +0 -63
  115. package/bin/go/src/runtime/race/internal/amd64v1/race_windows.patch +0 -63
  116. package/bin/go/src/runtime/race/internal/amd64v3/race_linux.patch +0 -63
  117. package/bin/go/src/runtime/race/race_darwin_arm64.patch +0 -63
  118. package/bin/go/src/runtime/race/race_linux_arm64.patch +0 -63
  119. package/bin/go/src/runtime/race/race_linux_loong64.patch +0 -63
  120. package/bin/go/src/runtime/race/race_linux_s390x.patch +0 -63
@@ -1,63 +0,0 @@
1
- From cdfdb06c9155080ec97d6e4f4dd90b6e7cefb0ca Mon Sep 17 00:00:00 2001
2
- From: Michael Pratt <michael@prattmic.com>
3
- Date: Fri, 12 Dec 2025 16:31:44 +1100
4
- Subject: [PATCH] [TSan] Zero-initialize Trace.local_head
5
-
6
- Trace.local_head is currently uninitialized when Trace is created. It is
7
- first initialized when the first event is added to the trace, via the
8
- first call to TraceSwitchPartImpl.
9
-
10
- However, ThreadContext::OnFinished uses local_head, assuming that it is
11
- initialized. If it has not been initialized, we have undefined behavior,
12
- likely crashing if the contents are garbage. The allocator (Alloc)
13
- reuses previously allocations, so the contents of the uninitialized
14
- memory are arbitrary.
15
-
16
- In a C/C++ TSAN binary it is likely very difficult for a thread to start
17
- and exit without a single event inbetween. For Go programs, code running
18
- in the Go runtime itself is not TSan-instrumented, so goroutines that
19
- exclusively run runtime code (such as GC workers) can quite reasonably
20
- have no TSan events.
21
-
22
- The addition of such a goroutine to the Go test.c is sufficient to
23
- trigger this case, though for reliable failure (segfault) I've found it
24
- necessary to poison the ThreadContext allocation like so:
25
-
26
- (Example patch redacted because patch tries to apply this as a real
27
- patch. See full commit at
28
- https://github.com/llvm/llvm-project/commit/cdfdb06c9155080ec97d6e4f4dd90b6e7cefb0ca).
29
-
30
- The fix is trivial: local_head should be zero-initialized.
31
- ---
32
- compiler-rt/lib/tsan/go/test.c | 4 ++++
33
- compiler-rt/lib/tsan/rtl/tsan_trace.h | 2 +-
34
- 2 files changed, 5 insertions(+), 1 deletion(-)
35
-
36
- diff --git a/compiler-rt/lib/tsan/go/test.c b/compiler-rt/lib/tsan/go/test.c
37
- index d328ab1b331d7..fcd396227a4ab 100644
38
- --- a/compiler-rt/lib/tsan/go/test.c
39
- +++ b/compiler-rt/lib/tsan/go/test.c
40
- @@ -91,6 +91,10 @@ int main(void) {
41
- __tsan_go_start(thr0, &thr1, (char*)&barfoo + 1);
42
- void *thr2 = 0;
43
- __tsan_go_start(thr0, &thr2, (char*)&barfoo + 1);
44
- + // Goroutine that exits without a single event.
45
- + void *thr3 = 0;
46
- + __tsan_go_start(thr0, &thr3, (char*)&barfoo + 1);
47
- + __tsan_go_end(thr3);
48
- __tsan_func_exit(thr0);
49
- __tsan_func_enter(thr1, (char*)&foobar + 1);
50
- __tsan_func_enter(thr1, (char*)&foobar + 1);
51
- diff --git a/compiler-rt/lib/tsan/rtl/tsan_trace.h b/compiler-rt/lib/tsan/rtl/tsan_trace.h
52
- index 01bb7b34f43a2..1e791ff765fec 100644
53
- --- a/compiler-rt/lib/tsan/rtl/tsan_trace.h
54
- +++ b/compiler-rt/lib/tsan/rtl/tsan_trace.h
55
- @@ -190,7 +190,7 @@ struct Trace {
56
- Mutex mtx;
57
- IList<TraceHeader, &TraceHeader::trace_parts, TracePart> parts;
58
- // First node non-queued into ctx->trace_part_recycle.
59
- - TracePart* local_head;
60
- + TracePart* local_head = nullptr;
61
- // Final position in the last part for finished threads.
62
- Event* final_pos = nullptr;
63
- // Number of trace parts allocated on behalf of this trace specifically.
@@ -1,63 +0,0 @@
1
- From cdfdb06c9155080ec97d6e4f4dd90b6e7cefb0ca Mon Sep 17 00:00:00 2001
2
- From: Michael Pratt <michael@prattmic.com>
3
- Date: Fri, 12 Dec 2025 16:31:44 +1100
4
- Subject: [PATCH] [TSan] Zero-initialize Trace.local_head
5
-
6
- Trace.local_head is currently uninitialized when Trace is created. It is
7
- first initialized when the first event is added to the trace, via the
8
- first call to TraceSwitchPartImpl.
9
-
10
- However, ThreadContext::OnFinished uses local_head, assuming that it is
11
- initialized. If it has not been initialized, we have undefined behavior,
12
- likely crashing if the contents are garbage. The allocator (Alloc)
13
- reuses previously allocations, so the contents of the uninitialized
14
- memory are arbitrary.
15
-
16
- In a C/C++ TSAN binary it is likely very difficult for a thread to start
17
- and exit without a single event inbetween. For Go programs, code running
18
- in the Go runtime itself is not TSan-instrumented, so goroutines that
19
- exclusively run runtime code (such as GC workers) can quite reasonably
20
- have no TSan events.
21
-
22
- The addition of such a goroutine to the Go test.c is sufficient to
23
- trigger this case, though for reliable failure (segfault) I've found it
24
- necessary to poison the ThreadContext allocation like so:
25
-
26
- (Example patch redacted because patch tries to apply this as a real
27
- patch. See full commit at
28
- https://github.com/llvm/llvm-project/commit/cdfdb06c9155080ec97d6e4f4dd90b6e7cefb0ca).
29
-
30
- The fix is trivial: local_head should be zero-initialized.
31
- ---
32
- compiler-rt/lib/tsan/go/test.c | 4 ++++
33
- compiler-rt/lib/tsan/rtl/tsan_trace.h | 2 +-
34
- 2 files changed, 5 insertions(+), 1 deletion(-)
35
-
36
- diff --git a/compiler-rt/lib/tsan/go/test.c b/compiler-rt/lib/tsan/go/test.c
37
- index d328ab1b331d7..fcd396227a4ab 100644
38
- --- a/compiler-rt/lib/tsan/go/test.c
39
- +++ b/compiler-rt/lib/tsan/go/test.c
40
- @@ -91,6 +91,10 @@ int main(void) {
41
- __tsan_go_start(thr0, &thr1, (char*)&barfoo + 1);
42
- void *thr2 = 0;
43
- __tsan_go_start(thr0, &thr2, (char*)&barfoo + 1);
44
- + // Goroutine that exits without a single event.
45
- + void *thr3 = 0;
46
- + __tsan_go_start(thr0, &thr3, (char*)&barfoo + 1);
47
- + __tsan_go_end(thr3);
48
- __tsan_func_exit(thr0);
49
- __tsan_func_enter(thr1, (char*)&foobar + 1);
50
- __tsan_func_enter(thr1, (char*)&foobar + 1);
51
- diff --git a/compiler-rt/lib/tsan/rtl/tsan_trace.h b/compiler-rt/lib/tsan/rtl/tsan_trace.h
52
- index 01bb7b34f43a2..1e791ff765fec 100644
53
- --- a/compiler-rt/lib/tsan/rtl/tsan_trace.h
54
- +++ b/compiler-rt/lib/tsan/rtl/tsan_trace.h
55
- @@ -190,7 +190,7 @@ struct Trace {
56
- Mutex mtx;
57
- IList<TraceHeader, &TraceHeader::trace_parts, TracePart> parts;
58
- // First node non-queued into ctx->trace_part_recycle.
59
- - TracePart* local_head;
60
- + TracePart* local_head = nullptr;
61
- // Final position in the last part for finished threads.
62
- Event* final_pos = nullptr;
63
- // Number of trace parts allocated on behalf of this trace specifically.
@@ -1,63 +0,0 @@
1
- From cdfdb06c9155080ec97d6e4f4dd90b6e7cefb0ca Mon Sep 17 00:00:00 2001
2
- From: Michael Pratt <michael@prattmic.com>
3
- Date: Fri, 12 Dec 2025 16:31:44 +1100
4
- Subject: [PATCH] [TSan] Zero-initialize Trace.local_head
5
-
6
- Trace.local_head is currently uninitialized when Trace is created. It is
7
- first initialized when the first event is added to the trace, via the
8
- first call to TraceSwitchPartImpl.
9
-
10
- However, ThreadContext::OnFinished uses local_head, assuming that it is
11
- initialized. If it has not been initialized, we have undefined behavior,
12
- likely crashing if the contents are garbage. The allocator (Alloc)
13
- reuses previously allocations, so the contents of the uninitialized
14
- memory are arbitrary.
15
-
16
- In a C/C++ TSAN binary it is likely very difficult for a thread to start
17
- and exit without a single event inbetween. For Go programs, code running
18
- in the Go runtime itself is not TSan-instrumented, so goroutines that
19
- exclusively run runtime code (such as GC workers) can quite reasonably
20
- have no TSan events.
21
-
22
- The addition of such a goroutine to the Go test.c is sufficient to
23
- trigger this case, though for reliable failure (segfault) I've found it
24
- necessary to poison the ThreadContext allocation like so:
25
-
26
- (Example patch redacted because patch tries to apply this as a real
27
- patch. See full commit at
28
- https://github.com/llvm/llvm-project/commit/cdfdb06c9155080ec97d6e4f4dd90b6e7cefb0ca).
29
-
30
- The fix is trivial: local_head should be zero-initialized.
31
- ---
32
- compiler-rt/lib/tsan/go/test.c | 4 ++++
33
- compiler-rt/lib/tsan/rtl/tsan_trace.h | 2 +-
34
- 2 files changed, 5 insertions(+), 1 deletion(-)
35
-
36
- diff --git a/compiler-rt/lib/tsan/go/test.c b/compiler-rt/lib/tsan/go/test.c
37
- index d328ab1b331d7..fcd396227a4ab 100644
38
- --- a/compiler-rt/lib/tsan/go/test.c
39
- +++ b/compiler-rt/lib/tsan/go/test.c
40
- @@ -91,6 +91,10 @@ int main(void) {
41
- __tsan_go_start(thr0, &thr1, (char*)&barfoo + 1);
42
- void *thr2 = 0;
43
- __tsan_go_start(thr0, &thr2, (char*)&barfoo + 1);
44
- + // Goroutine that exits without a single event.
45
- + void *thr3 = 0;
46
- + __tsan_go_start(thr0, &thr3, (char*)&barfoo + 1);
47
- + __tsan_go_end(thr3);
48
- __tsan_func_exit(thr0);
49
- __tsan_func_enter(thr1, (char*)&foobar + 1);
50
- __tsan_func_enter(thr1, (char*)&foobar + 1);
51
- diff --git a/compiler-rt/lib/tsan/rtl/tsan_trace.h b/compiler-rt/lib/tsan/rtl/tsan_trace.h
52
- index 01bb7b34f43a2..1e791ff765fec 100644
53
- --- a/compiler-rt/lib/tsan/rtl/tsan_trace.h
54
- +++ b/compiler-rt/lib/tsan/rtl/tsan_trace.h
55
- @@ -190,7 +190,7 @@ struct Trace {
56
- Mutex mtx;
57
- IList<TraceHeader, &TraceHeader::trace_parts, TracePart> parts;
58
- // First node non-queued into ctx->trace_part_recycle.
59
- - TracePart* local_head;
60
- + TracePart* local_head = nullptr;
61
- // Final position in the last part for finished threads.
62
- Event* final_pos = nullptr;
63
- // Number of trace parts allocated on behalf of this trace specifically.