antideb

package module
v0.0.0-...-04cfca7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2021 License: BSD-2-Clause Imports: 7 Imported by: 0

README

antideb

Package antideb - basic anti-debugging and anti-reverse engineering protection for your application. Performs basic detection functions such as ptrace, int3, time slots, vdso and others (don't foget to obfuscate your code).

GoDoc GoDev Go Walker Documentation Status codeclimate GolangCI GoReport Codacy Badge codecov Coverage Status Coverage License FOSSA Status Build Status Build status Circle CI Semaphore Status Build Status Codeship Status Gluten Free DepShield Badge

installation

go get github.com/biter777/antideb

usage

func main() {
	debug := false // set to false for production
	// ... do litle work
	if !debug {
		go antideb.Detect(true)
	}
	// ... do main work
}

options

import "github.com/biter777/antideb"

For more complex options, consult the documentation.

contributing

  1. Welcome pull requests, bug fixes and issue reports.
    Before proposing a change, please discuss it first by raising an issue.

  2. Donate. A donation isn't necessary, but it's welcome.
    ko-fi

  3. Star us. Give us a star, please, if it's not against your religion :)

Documentation

Overview

Package antideb - basic anti-debugging and anti-reverse engineering protection for your application. Performs basic detection functions such as ptrace, int3, time slots, vdso and others (don't foget to obfuscate your code).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectAll

func DetectAll(panicEnable bool) bool

DetectAll - detect a debugger / anti-debugger, all test test example: gdb -nx -q -ex 'r' -ex 'q' ./app_name

func DetectBreakpoints

func DetectBreakpoints() int

DetectBreakpoints - DetectBreakpoints

func DetectDebugEnv

func DetectDebugEnv() bool

DetectDebugEnv - DetectDebugEnv

func DetectInt3

func DetectInt3() bool

DetectInt3 - DetectInt3

func DetectLdHook

func DetectLdHook() bool

DetectLdHook - DetectLdHook WARNING! Not valid results on some systems!

func DetectLite

func DetectLite(panicEnable bool) bool

DetectLite - detect a debugger / anti-debugger test example: gdb -nx -q -ex 'r' -ex 'q' ./app_name

func DetectNearHeap

func DetectNearHeap() bool

DetectNearHeap - DetectNearHeap

func DetectNoASLR

func DetectNoASLR() bool

DetectNoASLR - DetectNoASLR

func DetectParent

func DetectParent() bool

DetectParent - DetectParent

func DetectParent2

func DetectParent2() bool

DetectParent2 - DetectParent2

func DetectPtrace

func DetectPtrace() bool

DetectPtrace - DetectPtrace

func DetectVDSO

func DetectVDSO() bool

DetectVDSO - DetectVDSO

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL