procmaps

package
Version: v0.0.0-...-a6e299d Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package procmaps is used to parse /proc/{pid}/maps file

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Range

type Range struct {
	Start    uint64
	End      uint64
	Perm     string
	Offset   uint64
	Dev      string
	Inode    uint64
	Filename string
}

func ReadProcMaps

func ReadProcMaps(pid int) ([]Range, error)

func (*Range) IsExe

func (r *Range) IsExe() bool

func (*Range) IsPrivate

func (r *Range) IsPrivate() bool

func (*Range) IsRead

func (r *Range) IsRead() bool

func (*Range) IsShare

func (r *Range) IsShare() bool

func (*Range) IsWrite

func (r *Range) IsWrite() bool

func (*Range) Size

func (r *Range) Size() uint64

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL