android

package
v0.0.0-...-969fd36 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AT_NULL = iota
	AT_IGNORE
	AT_EXECFD
	AT_PHDR
	AT_PHENT
	AT_PHNUM
	AT_PAGESZ
	AT_BASE
	AT_FLAGS
	AT_ENTRY
	AT_NOTELF
	AT_UID
	AT_EUID
	AT_GID
	AT_EGID
	AT_PLATFORM
	AT_HWCAP
	AT_CLKTCK
	AT_SECURE        = 23
	AT_BASE_PLATFORM = 24
	AT_RANDOM        = 25
	AT_HWCAP2        = 26
	AT_EXECFN        = 31
)
View Source
const (
	ARM_TLS_SLOT_BIONIC_TLS = iota - 1
	ARM_TLS_SLOT_DTV
	ARM_TLS_SLOT_THREAD_ID
	ARM_TLS_SLOT_APP
	ARM_TLS_SLOT_OPENGL
	ARM_TLS_SLOT_OPENGL_API
	ARM_TLS_SLOT_STACK_GUARD
	ARM_TLS_SLOT_SANITIZER
	ARM_TLS_SLOT_ART_THREAD_SELF

	ARM_MIN_TLS_SLOT = ARM_TLS_SLOT_BIONIC_TLS
	ARM_MAX_TLS_SLOT = ARM_TLS_SLOT_ART_THREAD_SELF

	ARM_BIONIC_TLS_SLOTS = ARM_MAX_TLS_SLOT - ARM_MIN_TLS_SLOT + 1
)
View Source
const (
	X86_TLS_SLOT_SELF = iota
	X86_TLS_SLOT_THREAD_ID
	X86_TLS_SLOT_APP
	X86_TLS_SLOT_OPENGL
	X86_TLS_SLOT_OPENGL_API
	X86_TLS_SLOT_STACK_GUARD
	X86_TLS_SLOT_SANITIZER
	X86_TLS_SLOT_ART_THREAD_SELF
	X86_TLS_SLOT_DTV
	X86_TLS_SLOT_BIONIC_TLS

	X86_MIN_TLS_SLOT = X86_TLS_SLOT_SELF
	X86_MAX_TLS_SLOT = X86_TLS_SLOT_BIONIC_TLS

	X86_BIONIC_TLS_SLOTS = X86_MAX_TLS_SLOT - X86_MIN_TLS_SLOT + 1
)

Variables

This section is empty.

Functions

func NewRuntime

func NewRuntime(emu emulator.Emulator, options ...android.Option) (android.Runtime, error)

func WithApkPath

func WithApkPath(name string) android.Option

func WithJNIEnv

func WithJNIEnv(env android.JNIEnv) android.Option

func WithRootDir

func WithRootDir(name string) android.Option

func WithRuntimeDir

func WithRuntimeDir(name string) android.Option

Types

type ApkPathOption

type ApkPathOption interface {
	// contains filtered or unexported methods
}

type JNIEnvOption

type JNIEnvOption interface {
	// contains filtered or unexported methods
}

type Pointer

type Pointer interface {
	~uint32 | ~uint64
}

type RootDirOption

type RootDirOption interface {
	// contains filtered or unexported methods
}

type RuntimeDirOption

type RuntimeDirOption interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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