Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrimitiveToIR ¶
Types ¶
type CRMW ¶
type CRMW struct {
Type PrimtiveType
// The address that was accessed
Address uint
// The OrMask to set bits
OrMask uint64
// The AndMask to clear bits
AndMask uint64
// 8, 16, 32, 64 bit
AccessSize uint
}
func (CRMW) ConvertToC ¶
type PRead ¶
type PRead struct {
// Meta information
Meta IRMeta
// The primitive type (TraceLogEntry Type)
Type PrimtiveType
// The address that was accessed
Address uint
// The value read/written
Value uint64
// 8, 16, 32, 64 bit
AccessSize uint
}
func IRNewPrimitiveRead ¶
func IRNewPrimitiveRead(e tracelog.TraceLogEntry) PRead
func (PRead) ConvertToC ¶
type PWrite ¶
type PWrite struct {
// Meta information
Meta IRMeta
// The primitive type (TraceLogEntry Type)
Type PrimtiveType
// The address that was accessed
Address uint
// The value read/written
Value uint64
// 8, 16, 32, 64 bit
AccessSize uint
}
func IRNewPrimitiveWrite ¶
func IRNewPrimitiveWrite(e tracelog.TraceLogEntry) PWrite
func (PWrite) ConvertToC ¶
Click to show internal directories.
Click to hide internal directories.