func (p *Process) Mappings() []*Mapping {
	return p.maps
}
Mappings returns a list of virtual memory mappings for p.
package core
import (
	"debug/dwarf"
	"encoding/binary"
	"os"
	"strings"
)
type Address uint64
func (a Address) Sub(b Address) int64 {
	return int64(a - b)
}
func (a Address) Add(x int64) Address {
	return a + Address(x)
}
func (a Address) Max(b Address) Address {
	if a > b {
		return a
	}
	return b
}
func (a Address) Min(b Address) Address {
	if a < b {
		return a
	}
	return b
}
func (a Address) Align(x int64) Address {
	return (a + Address(x) - 1) & ^(Address(x) - 1)
}
type Process struct {
	base         string              
	exec         []*os.File          
	maps         []*Mapping          
	threads      []*Thread           
	arch         string              
	ptrSize      int64               
	logPtrSize   uint                
	byteOrder    binary.ByteOrder    
	littleEndian bool                
	syms         map[string]Address  
	symErr       error               
	dwarf        *dwarf.Data         
	dwarfErr     error               
	pageTable    pageTable4          
}