MCPcopy Index your code
hub / github.com/ELMERIKH/PyinMemoryPE / get_VirtualAddress_adj

Method get_VirtualAddress_adj

pythonmemorymodule/pefile.py:1169–1177  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1167 return self.PointerToRawData_adj
1168
1169 def get_VirtualAddress_adj(self):
1170 if self.VirtualAddress_adj is None:
1171 if self.VirtualAddress is not None:
1172 self.VirtualAddress_adj = self.pe.adjust_SectionAlignment(
1173 self.VirtualAddress,
1174 self.pe.OPTIONAL_HEADER.SectionAlignment,
1175 self.pe.OPTIONAL_HEADER.FileAlignment,
1176 )
1177 return self.VirtualAddress_adj
1178
1179 def get_data(self, start=None, length=None, ignore_padding=False):
1180 """Get data chunk from a section.

Callers 4

get_dataMethod · 0.95
get_rva_from_offsetMethod · 0.95
get_offset_from_rvaMethod · 0.95
contains_rvaMethod · 0.95

Calls 1

Tested by

no test coverage detected