Lines Matching refs:directory
961 """Holds export directory information.
981 """Holds resource directory information.
988 """Holds resource directory entry data.
996 directory: If this entry has a lower level directory
1003 (Either of the 'directory' or 'data' attribute will exist,
1046 This directory entry will provide with information on the
1113 Directory entries will be available as attributes (if they exist):
1852 # If can't parse directory then silently return.
1853 # This directory does not necesarily have to be valid to
1857 'The Bound Imports directory exists but can\'t be parsed.')
2015 """Parse the resources directory.
2017 Given the rva of the resources directory, it will process all
2022 entries in the directory.
2026 "directory", pointing to the IMAGE_RESOURCE_DIRECTORY structure
2029 Another directory with more entries. Those last entries will
2050 'Invalid resources directory. Can\'t read ' +
2051 'directory data at RVA: 0x%x' % rva)
2054 # Get the resource directory structure, that is, the header
2061 # If can't parse resources directory then silently return.
2062 # This directory does not necesarily have to be valid to
2065 'Invalid resources directory. Can\'t parse ' +
2066 'directory data at RVA: 0x%x' % rva)
2071 # Advance the rva to the positon immediately following the directory
2087 'Error parsing the resources directory, ' +
2110 'Error parsing the resources directory, ' +
2120 # the next directory. This causes hilarity to ensue when
2144 directory = entry_directory))
2176 rt_version_struct = last_entry.directory.entries[0].directory.entries[0].data.struct
2178 # Maybe a malformed directory structure...?
2203 """Parse a data entry from the resources directory."""
2211 'Error parsing a resource directory data entry, ' +
2223 """Parse a directory entry from the resources directory."""
2577 """Parse the export directory.
2579 Given the rva of the export directory, it will process all
2601 'Error parsing export directory at RVA: 0x%x' % ( rva ) )
2616 'Error parsing export directory at RVA: 0x%x' % ( rva ) )
2639 # If the funcion's rva points within the export directory
2692 """Walk and parse the delay import directory."""
2702 'Error parsing the Delay import directory at RVA: 0x%x' % ( rva ) )
2724 'Error parsing the Delay import directory. ' +
2745 """Walk and parse the import directory."""
2755 'Error parsing the Import directory at RVA: 0x%x' % ( rva ) )
2775 'Error parsing the Import directory. ' +
3187 directory = self.OPTIONAL_HEADER.DATA_DIRECTORY[idx]
3188 dump.add_lines(directory.dump())
3300 dump.add_header('Resource directory')
3316 if hasattr(resource_type, 'directory'):
3318 dump.add_lines(resource_type.directory.struct.dump(), 4)
3320 for resource_id in resource_type.directory.entries:
3329 if hasattr(resource_id, 'directory'):
3330 dump.add_lines(resource_id.directory.struct.dump(), 8)
3332 for resource_lang in resource_id.directory.entries: