github.com/go-delve/delve v1.24.1
legitimate Go debugger source
Defender realtime-disable command textBasename is uppercase README.md
SHA-256d9054abb6cf48d07d54b4ad5b2b326939915251fd9df8ab45ace2aa7bd5cd7bc
Evidence
⋯6 lines
10
11
12Set-MpPreference -DisableRealtimeMonitoring $true -ErrorAction SilentlyContinue
13
14# Install MinGW.
15if ($arch -eq "amd64")
16{
17 # Install Chocolatey
18 #Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
19 choco install -y mingw
20} elseif ($arch -eq "arm64") {
21 $llvmVersion = "20220906"
22 $name = "llvm-mingw-$llvmVersion-ucrt-aarch64"
23 if (-Not(Test-Path "$binDir\llvm-mingw\$name"))
24 {
25 New-Item "$binDir\llvm-mingw" -ItemType Directory -ErrorAction SilentlyContinue
26 $url = "https://github.com/mstorsjo/llvm-mingw/releases/download/$llvmVersion/$name.zip"
27 Invoke-WebRequest -UserAgent wget -Uri $url -OutFile "$env:TEMP\$name.zip" -ErrorAction Stop
28 Expand-Archive -Force -LiteralPath "$env:TEMP\$name.zip" -DestinationPath "$binDir\llvm-mingw\"
29 }
30 $env:PATH = "$binDir\llvm-mingw\$name\bin;$env:PATH"
31} else {
32 Throw "Unsupported architecture: $arch"
33}
34
35# Install Procdump
36if (-Not(Test-Path "$binDir\procdump"))
37{
38 New-Item "$binDir\procdump" -ItemType Directory
39 Invoke-WebRequest -UserAgent wget -Uri "https://download.sysinternals.com/files/Procdump.zip" -OutFile "$env:TEMP\procdump.zip"
40 Expand-Archive -Force -LiteralPath "$env:TEMP\procdump.zip" -DestinationPath "$binDir\procdump"
41}
⋯6 lines
48 {
49 $file = "$version.windows-$arch.zip"
50 $url = "https://dl.google.com/go/$file"
51 Invoke-WebRequest -UserAgent wget -Uri $url -OutFile "$env:TEMP\$file" -ErrorAction Stop
52:36… ralPath "$env:TEMP\$file" -DestinationPath "$env:TEMP\$version"
53 New-Item $env:GOROOT -ItemType Directory
54 Move-Item -Path "$env:TEMP\$version\go\*" -Destination $env:GOROOT -Force
55 }
56}
57
58if ($version -eq "gotip") {
59 #Exit 0
60 $latest = (Invoke-WebRequest -Uri "https://golang.org/VERSION?m=text" -UseBasicParsing | Select-Object -ExpandProperty Content -ErrorAction Stop).Split([Environment]::NewLine) | select -first 1
61 GetGo $latest
62 …
63:19… "$binDir\go\go-tip"
64 Write-Host "Building Go with GOROOT_BOOTSTRAP $env:GOROOT_BOOTSTRAP"
65 if (-Not(Test-Path $env:GOROOT)) {
66 git clone "https://go.googlesource.com/go" "$binDir\go\go-tip"
67 Push-Location -Path "$binDir\go\go-tip\src"
68 } else {
69 Push-Location -Path "$binDir\go\go-tip\src"
70 git pull
71 }
72 .\make.bat
73 Pop-Location
74} else {
75 # Install Go
76 Write-Host "Finding latest patch version for $version"
77 $versions = Invoke-WebRequest -Uri "https://golang.org/dl/?mode=json&include=all" -UseBasicParsing | foreach {$_.Content} | ConvertFrom-Json -ErrorAction Stop
78 $v = $versions | foreach {$_.version} | Select-String -Pattern "^$version($|\.)" | Sort-Object -Descending | Select-Object -First 1
79 if ($v -eq $null) {
80 $v = $versions | foreach {$_.version} | Select-String -Pattern "^$versio …
121:7… publisher = github {
122 githubUrl = "https://api.github.com"
123 authType = personalToken {
124 token = "credentialsJSON:1312c856-0e13-4b04-8c40-ac26d4a5f700"
1# Changelog
2
3All notable changes to this project will be documented in this file.
4This project adheres to Semantic Versioning.
5
6## [1.24.1] 2025-03-05
7
8### Added
9
10- Support for linux/loong64 in native backend (#3892, @yelvens)
11- Support for watchpoints on interface values (#392 …
Showing the top 5 files — 7 more files (43 regions) not shown.