MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / get_entropy

Method get_entropy

pythonmemorymodule/pefile.py:1295–1298  ·  view source on GitHub ↗

Calculate and return the entropy for the section.

(self)

Source from the content-addressed store, hash-verified

1293 return self.contains_rva(rva)
1294
1295 def get_entropy(self):
1296 """Calculate and return the entropy for the section."""
1297
1298 return self.entropy_H(self.get_data())
1299
1300 def get_hash_sha1(self):
1301 """Get the SHA-1 hex-digest of the section's data."""

Callers 2

dump_infoMethod · 0.80
dump_dictMethod · 0.80

Calls 2

entropy_HMethod · 0.95
get_dataMethod · 0.95

Tested by

no test coverage detected