Lines Matching defs:string
34 import string
495 self.string = None
499 """Get the RVA of the string."""
505 """Return the escaped ASCII representation of the string."""
508 if char in string.printable:
513 if self.string:
514 return ''.join([convert_char(c) for c in self.string])
520 """Make this instance None, to express it's no known string type."""
527 self.string = self.pe.get_string_u_at_rva(
535 Such RVA could indicate the natural end of the string and will be checked
573 Such RVA could indicate the natural end of the string and will be checked
587 self.string = self.pe.get_string_u_at_rva(self.rva_ptr)
784 """Returns a string representation of the structure."""
992 attribute will contain the name string. None
1032 The type string is can be obtained by
1108 instance's attribute 'header' as a string.
1125 constants. They will accept the numeric value and return the string
1126 representation and the opposite, feed in the string and get the
1244 __String_format__ = ( 'String',
1701 string trimmed from the constant's names) will be added to the
2112 'Can\'t read unicode string at offset 0x%x' %
2261 dictionary 'entries' with all the key/value version information string pairs.
2275 # Map the main structure and the subsequent string
2290 'attempting to read VS_VERSION_INFO string. Can\'t ' +
2291 'read unicode string at offset 0x%x' % (
2308 # The the Key attribute to point to the unicode string identifying the structure
2362 # Get the subsequent string defining the structure.
2371 'attempting to read StringFileInfo string. Can\'t ' +
2372 'read unicode string at offset 0x%x' % ( ustr_offset ) )
2375 # Set such string as the Key attribute
2398 # Process the String Table entries
2416 'attempting to read StringTable string. Can\'t ' +
2417 'read unicode string at offset 0x%x' % ( ustr_offset ) )
2431 # Process all entries in the string table
2451 'attempting to read StringTable Key string. Can\'t ' +
2452 'read unicode string at offset 0x%x' % ( ustr_offset ) )
2467 'attempting to read StringTable Value string. ' +
2468 'Can\'t read unicode string at offset 0x%x' % (
2534 'attempting to read VarFileInfo Var string. ' +
2535 'Can\'t read unicode string at offset 0x%x' % (ustr_offset))
2640 # it will point to a string with the forwarded symbol's string
3016 """Get an ASCII string located at the given address."""
3028 """Get an ASCII string from within the data."""
3051 """Get an Unicode string located at the given address."""
3107 """Dump all the PE header information into human readable string."""
3394 """Return a four byte string representing the double word value. (little endian)."""
3451 """Return a two byte string representing the word value. (little endian)."""
3507 """Return a eight byte string representing the quad-word value. (little endian)."""
3565 """Overwrite, with the given string, the bytes at the file offset corresponding to the given RVA.
3579 """Overwrite the bytes at the given file offset with the given string.