https://github.com/matusollah/isdebug
Debugger detection package for Go
https://github.com/matusollah/isdebug
anticheat antidebug antidebugging go golang
Last synced: about 1 year ago
JSON representation
Debugger detection package for Go
- Host: GitHub
- URL: https://github.com/matusollah/isdebug
- Owner: MatusOllah
- License: mit
- Created: 2025-03-19T19:35:33.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-19T20:11:50.000Z (about 1 year ago)
- Last Synced: 2025-03-19T20:34:29.433Z (about 1 year ago)
- Topics: anticheat, antidebug, antidebugging, go, golang
- Language: Go
- Homepage:
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# isdebug
[](https://pkg.go.dev/github.com/MatusOllah/isdebug) [](https://goreportcard.com/report/github.com/MatusOllah/isdebug) [](https://github.com/MatusOllah/isdebug/blob/main/LICENSE) [](https://www.youtube.com/watch?v=UqXJ0ktrmh0)
**isdebug** is a little cross-platform debugger detection package for Go.
## Features
* Detects whether a debugger is present at runtime
* Cross-platform support (Windows, macOS, Linux, BSD, Plan9, Android, iOS, etc...)
* Lightweight and easy to use
## Use Cases
* Anti-debugging and reverse engineering protection
* Game security and anti-cheat protection
* Secure applications
* Conditional debugging
## Installation
Run:
```sh
go get -u github.com/MatusOllah/isdebug
```
## Usage
```go
package main
import (
"fmt"
"os"
"github.com/MatusOllah/isdebug"
)
func main() {
for {
if isdebug.IsDebug() {
fmt.Println("Debugger detected!")
os.Exit(0)
}
}
}
```