Package PE :: Module cofflib
[hide private]
[frames] | no frames]

Module cofflib

source code

Some utilities for dealing with COFF .LIB files

Classes [hide private]
  IMAGE_ARCHIVE_MEMBER_HEADER
  IMAGE_ARCHIVE_MEMBER
  IMAGE_ARCHIVE_LINKER1
  IMAGE_ARCHIVE_LINKER2
  IMAGE_ARCHIVE_IMPORT
  IMAGE_COFF_SYMBOL
  IMAGE_ARCHIVE_COFF
  IMAGE_ARCHIVE
Functions [hide private]
 
foo(a, b, idx) source code
Variables [hide private]
  IMAGE_ARCHIVE_START_SIZE = 8
  IMAGE_ARCHIVE_START = '!<arch>\n'
  IMAGE_ARCHIVE_END = '`\n'
  IMAGE_ARCHIVE_PAD = '\n'
  IMAGE_ARCHIVE_LINKER_MEMBER = '/ '
  IMAGE_ARCHIVE_LONGNAMES_MEMBER = '// '
  IMAGE_ARCHIVE_HEADER_SIZE = 60
  IMPORT_SIG = '0000ffff'.decode('hex')
  IMPORT_CODE = 0
  IMPORT_DATA = 1
  IMPORT_CONST = 2