Skip to content

[pull] master from golang:master#37

Merged
pull[bot] merged 3 commits into
trailofbits:masterfrom
golang:master
May 17, 2026
Merged

[pull] master from golang:master#37
pull[bot] merged 3 commits into
trailofbits:masterfrom
golang:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 17, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Jorropo and others added 3 commits May 16, 2026 20:50
- use CMPW rather than CMP + Zext for <=32 bits shift counts
- deduplicate rules by first rewriting 32x... 16x... and 8x... to 64x...

I also had to add ANDconst → zext and REV16 + zext → into REV16W due
to latent rule ordering bug.

Change-Id: I394006fe09aae332a1636da7722ee5fddecec304
Reviewed-on: https://go-review.googlesource.com/c/go/+/760660
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Firstly;
As far as I know we do not ever have a value inside a timespec
that does not fit into a timespec32, we only ever use it
for time durations which will continue to fit in timespec32
after Y2038 since it is relative.

In the case that assumption is wrong
I would like to be told about it.

Secondly;
Assuming this is false and we are storing datetimes in theses
timespecs, I do not know what to do if we are trying to convert
it to a 32bits timespec.

Since the correct thing we are doing is to always use the 64bits
codepath when it is available, thus if we try to convert such
too big timespec to 32bits means the host Linux doesn't support
the 64bits codepaths.

Then I think it's a there is no good solution situation,
and I think crashing is better than continuing with a corrupted
(due to truncation) timespec32.

Change-Id: I4456ff9d96d85eb3da38a938d699a6e5e99f3844
Reviewed-on: https://go-review.googlesource.com/c/go/+/751342
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Document that Debug, Info, Warn, Error (both Logger methods and
package-level functions) use context.Background internally, and
point users to their *Context variants.

Updates #44143

Change-Id: I1bfb7bc1b0d050dfa6a665233f3df9ee70510153
Reviewed-on: https://go-review.googlesource.com/c/go/+/752620
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Sean Liao <sean@liao.dev>
@pull pull Bot locked and limited conversation to collaborators May 17, 2026
@pull pull Bot added the ⤵️ pull label May 17, 2026
@pull pull Bot merged commit d1d0a15 into trailofbits:master May 17, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants