Documentation ¶
Index ¶
- Variables
- func Debug(arg interface{})
- func DebugPrint(fmt_str string, v ...interface{})
- func DlvBreak()
- func ParseInt32(reader io.ReaderAt, offset int64) int32
- func ParseInt8(reader io.ReaderAt, offset int64) int8
- func ParseString(reader io.ReaderAt, offset int64, length int64) string
- func ParseTerminatedString(reader io.ReaderAt, offset int64) string
- func ParseUint16(reader io.ReaderAt, offset int64) uint16
- func ParseUint32(reader io.ReaderAt, offset int64) uint32
- func ParseUint64(reader io.ReaderAt, offset int64) uint64
- func SetDebug()
- func UTF16ToUTF8(in string) string
- type EWFFile
- type EWFOptions
- type EWFProfile
- func (self *EWFProfile) EWF_file_header_v1(reader io.ReaderAt, offset int64) *EWF_file_header_v1
- func (self *EWFProfile) EWF_file_header_v2(reader io.ReaderAt, offset int64) *EWF_file_header_v2
- func (self *EWFProfile) EWF_section_descriptor_v1(reader io.ReaderAt, offset int64) *EWF_section_descriptor_v1
- func (self *EWFProfile) EWF_table_entry(reader io.ReaderAt, offset int64) *EWF_table_entry
- func (self *EWFProfile) EWF_table_header_v1(reader io.ReaderAt, offset int64) *EWF_table_header_v1
- func (self *EWFProfile) EWF_volume(reader io.ReaderAt, offset int64) *EWF_volume
- type EWF_file_header_v1
- func (self *EWF_file_header_v1) DebugString() string
- func (self *EWF_file_header_v1) Descriptor() *EWF_section_descriptor_v1
- func (self *EWF_file_header_v1) EVF_sig() string
- func (self *EWF_file_header_v1) Fields_end() uint16
- func (self *EWF_file_header_v1) Fields_start() int8
- func (self *EWF_file_header_v1) Segment_number() uint16
- func (self *EWF_file_header_v1) Size() int
- type EWF_file_header_v2
- func (self *EWF_file_header_v2) Compression_method() *Enumeration
- func (self *EWF_file_header_v2) DebugString() string
- func (self *EWF_file_header_v2) EVF_sig() string
- func (self *EWF_file_header_v2) Major_version() int8
- func (self *EWF_file_header_v2) Minor_version() int8
- func (self *EWF_file_header_v2) Segment_number() uint16
- func (self *EWF_file_header_v2) Set_identifier() string
- func (self *EWF_file_header_v2) Size() int
- type EWF_section_descriptor_v1
- func (self *EWF_section_descriptor_v1) Checksum() uint32
- func (self *EWF_section_descriptor_v1) DebugString() string
- func (self *EWF_section_descriptor_v1) Next() *EWF_section_descriptor_v1
- func (self *EWF_section_descriptor_v1) SectionSize() uint64
- func (self *EWF_section_descriptor_v1) Size() int
- func (self *EWF_section_descriptor_v1) Type() string
- type EWF_table_entry
- type EWF_table_header_v1
- func (self *EWF_table_header_v1) Base_offset() uint64
- func (self *EWF_table_header_v1) Checksum() uint32
- func (self *EWF_table_header_v1) DebugString() string
- func (self *EWF_table_header_v1) Entries() *EWF_table_entry
- func (self *EWF_table_header_v1) Number_of_entries() uint64
- func (self *EWF_table_header_v1) Size() int
- type EWF_volume
- func (self *EWF_volume) Bytes_per_sector() uint32
- func (self *EWF_volume) Checksum() int32
- func (self *EWF_volume) Chs_cylinders() uint32
- func (self *EWF_volume) Chs_heads() uint32
- func (self *EWF_volume) Chs_sectors() uint32
- func (self *EWF_volume) Compression_level() *Enumeration
- func (self *EWF_volume) DebugString() string
- func (self *EWF_volume) Media_flags() *Flags
- func (self *EWF_volume) Media_type() *Enumeration
- func (self *EWF_volume) Number_of_chunks() uint32
- func (self *EWF_volume) Number_of_sectors() uint64
- func (self *EWF_volume) Sectors_per_chunk() uint32
- func (self *EWF_volume) Size() int
- type Enumeration
- type Flags
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DEBUG *bool
)
Functions ¶
func DebugPrint ¶
func DebugPrint(fmt_str string, v ...interface{})
func UTF16ToUTF8 ¶
Types ¶
type EWFFile ¶
type EWFFile struct { ChunkSize int64 NumberOfChunks int64 TotalImageSize int64 Metadata *ordereddict.Dict Tables []chunk Hits int64 Miss int64 Files []*EWF_file_header_v1 // All the descriptors in the correct order. Descriptors []*EWF_section_descriptor_v1 // contains filtered or unexported fields }
func OpenEWFFile ¶
func OpenEWFFile(options *EWFOptions, readers ...io.ReaderAt) ( *EWFFile, error)
func (*EWFFile) WriteDebug ¶
type EWFOptions ¶
type EWFOptions struct {
LRUSize int
}
type EWFProfile ¶
type EWFProfile struct { Off_EWF_file_header_v1_EVF_sig int64 Off_EWF_file_header_v1_Fields_start int64 Off_EWF_file_header_v1_Segment_number int64 Off_EWF_file_header_v1_Fields_end int64 Off_EWF_file_header_v1_Descriptor int64 Off_EWF_file_header_v2_EVF_sig int64 Off_EWF_file_header_v2_Major_version int64 Off_EWF_file_header_v2_Minor_version int64 Off_EWF_file_header_v2_Compression_method int64 Off_EWF_file_header_v2_Segment_number int64 Off_EWF_file_header_v2_Set_identifier int64 Off_EWF_section_descriptor_v1_Type int64 Off_EWF_section_descriptor_v1_Next int64 Off_EWF_section_descriptor_v1_SectionSize int64 Off_EWF_section_descriptor_v1_Checksum int64 Off_EWF_table_entry_Compressed int64 Off_EWF_table_entry_ChunkOffset int64 Off_EWF_table_header_v1_Number_of_entries int64 Off_EWF_table_header_v1_Base_offset int64 Off_EWF_table_header_v1_Checksum int64 Off_EWF_table_header_v1_Entries int64 Off_EWF_volume_Media_type int64 Off_EWF_volume_Number_of_chunks int64 Off_EWF_volume_Sectors_per_chunk int64 Off_EWF_volume_Bytes_per_sector int64 Off_EWF_volume_Number_of_sectors int64 Off_EWF_volume_Chs_cylinders int64 Off_EWF_volume_Chs_heads int64 Off_EWF_volume_Chs_sectors int64 Off_EWF_volume_Media_flags int64 Off_EWF_volume_Compression_level int64 Off_EWF_volume_Checksum int64 }
func NewEWFProfile ¶
func NewEWFProfile() *EWFProfile
func (*EWFProfile) EWF_file_header_v1 ¶
func (self *EWFProfile) EWF_file_header_v1(reader io.ReaderAt, offset int64) *EWF_file_header_v1
func (*EWFProfile) EWF_file_header_v2 ¶
func (self *EWFProfile) EWF_file_header_v2(reader io.ReaderAt, offset int64) *EWF_file_header_v2
func (*EWFProfile) EWF_section_descriptor_v1 ¶
func (self *EWFProfile) EWF_section_descriptor_v1(reader io.ReaderAt, offset int64) *EWF_section_descriptor_v1
func (*EWFProfile) EWF_table_entry ¶
func (self *EWFProfile) EWF_table_entry(reader io.ReaderAt, offset int64) *EWF_table_entry
func (*EWFProfile) EWF_table_header_v1 ¶
func (self *EWFProfile) EWF_table_header_v1(reader io.ReaderAt, offset int64) *EWF_table_header_v1
func (*EWFProfile) EWF_volume ¶
func (self *EWFProfile) EWF_volume(reader io.ReaderAt, offset int64) *EWF_volume
type EWF_file_header_v1 ¶
type EWF_file_header_v1 struct { Reader io.ReaderAt Offset int64 Profile *EWFProfile }
func (*EWF_file_header_v1) DebugString ¶
func (self *EWF_file_header_v1) DebugString() string
func (*EWF_file_header_v1) Descriptor ¶
func (self *EWF_file_header_v1) Descriptor() *EWF_section_descriptor_v1
func (*EWF_file_header_v1) EVF_sig ¶
func (self *EWF_file_header_v1) EVF_sig() string
func (*EWF_file_header_v1) Fields_end ¶
func (self *EWF_file_header_v1) Fields_end() uint16
func (*EWF_file_header_v1) Fields_start ¶
func (self *EWF_file_header_v1) Fields_start() int8
func (*EWF_file_header_v1) Segment_number ¶
func (self *EWF_file_header_v1) Segment_number() uint16
func (*EWF_file_header_v1) Size ¶
func (self *EWF_file_header_v1) Size() int
type EWF_file_header_v2 ¶
type EWF_file_header_v2 struct { Reader io.ReaderAt Offset int64 Profile *EWFProfile }
func (*EWF_file_header_v2) Compression_method ¶
func (self *EWF_file_header_v2) Compression_method() *Enumeration
func (*EWF_file_header_v2) DebugString ¶
func (self *EWF_file_header_v2) DebugString() string
func (*EWF_file_header_v2) EVF_sig ¶
func (self *EWF_file_header_v2) EVF_sig() string
func (*EWF_file_header_v2) Major_version ¶
func (self *EWF_file_header_v2) Major_version() int8
func (*EWF_file_header_v2) Minor_version ¶
func (self *EWF_file_header_v2) Minor_version() int8
func (*EWF_file_header_v2) Segment_number ¶
func (self *EWF_file_header_v2) Segment_number() uint16
func (*EWF_file_header_v2) Set_identifier ¶
func (self *EWF_file_header_v2) Set_identifier() string
func (*EWF_file_header_v2) Size ¶
func (self *EWF_file_header_v2) Size() int
type EWF_section_descriptor_v1 ¶
type EWF_section_descriptor_v1 struct { Reader io.ReaderAt Offset int64 Profile *EWFProfile }
func (*EWF_section_descriptor_v1) Checksum ¶
func (self *EWF_section_descriptor_v1) Checksum() uint32
func (*EWF_section_descriptor_v1) DebugString ¶
func (self *EWF_section_descriptor_v1) DebugString() string
func (*EWF_section_descriptor_v1) Next ¶
func (self *EWF_section_descriptor_v1) Next() *EWF_section_descriptor_v1
func (*EWF_section_descriptor_v1) SectionSize ¶
func (self *EWF_section_descriptor_v1) SectionSize() uint64
func (*EWF_section_descriptor_v1) Size ¶
func (self *EWF_section_descriptor_v1) Size() int
func (*EWF_section_descriptor_v1) Type ¶
func (self *EWF_section_descriptor_v1) Type() string
type EWF_table_entry ¶
type EWF_table_entry struct { Reader io.ReaderAt Offset int64 Profile *EWFProfile }
func (*EWF_table_entry) ChunkOffset ¶
func (self *EWF_table_entry) ChunkOffset() uint64
func (*EWF_table_entry) Compressed ¶
func (self *EWF_table_entry) Compressed() uint64
func (*EWF_table_entry) DebugString ¶
func (self *EWF_table_entry) DebugString() string
func (*EWF_table_entry) Size ¶
func (self *EWF_table_entry) Size() int
type EWF_table_header_v1 ¶
type EWF_table_header_v1 struct { Reader io.ReaderAt Offset int64 Profile *EWFProfile }
func (*EWF_table_header_v1) Base_offset ¶
func (self *EWF_table_header_v1) Base_offset() uint64
func (*EWF_table_header_v1) Checksum ¶
func (self *EWF_table_header_v1) Checksum() uint32
func (*EWF_table_header_v1) DebugString ¶
func (self *EWF_table_header_v1) DebugString() string
func (*EWF_table_header_v1) Entries ¶
func (self *EWF_table_header_v1) Entries() *EWF_table_entry
func (*EWF_table_header_v1) Number_of_entries ¶
func (self *EWF_table_header_v1) Number_of_entries() uint64
func (*EWF_table_header_v1) Size ¶
func (self *EWF_table_header_v1) Size() int
type EWF_volume ¶
type EWF_volume struct { Reader io.ReaderAt Offset int64 Profile *EWFProfile }
func (*EWF_volume) Bytes_per_sector ¶
func (self *EWF_volume) Bytes_per_sector() uint32
func (*EWF_volume) Checksum ¶
func (self *EWF_volume) Checksum() int32
func (*EWF_volume) Chs_cylinders ¶
func (self *EWF_volume) Chs_cylinders() uint32
func (*EWF_volume) Chs_heads ¶
func (self *EWF_volume) Chs_heads() uint32
func (*EWF_volume) Chs_sectors ¶
func (self *EWF_volume) Chs_sectors() uint32
func (*EWF_volume) Compression_level ¶
func (self *EWF_volume) Compression_level() *Enumeration
func (*EWF_volume) DebugString ¶
func (self *EWF_volume) DebugString() string
func (*EWF_volume) Media_flags ¶
func (self *EWF_volume) Media_flags() *Flags
func (*EWF_volume) Media_type ¶
func (self *EWF_volume) Media_type() *Enumeration
func (*EWF_volume) Number_of_chunks ¶
func (self *EWF_volume) Number_of_chunks() uint32
func (*EWF_volume) Number_of_sectors ¶
func (self *EWF_volume) Number_of_sectors() uint64
func (*EWF_volume) Sectors_per_chunk ¶
func (self *EWF_volume) Sectors_per_chunk() uint32
func (*EWF_volume) Size ¶
func (self *EWF_volume) Size() int
type Enumeration ¶
func (Enumeration) DebugString ¶
func (self Enumeration) DebugString() string
Click to show internal directories.
Click to hide internal directories.