MCPcopy Create free account
hub / github.com/lief-project/LIEF / print_source_version

Function print_source_version

api/python/examples/macho_reader.py:560–567  ·  view source on GitHub ↗
(binary)

Source from the content-addressed store, hash-verified

558
559@exceptions_handler(Exception)
560def print_source_version(binary):
561 print("== Source Version ==")
562
563 version = binary.source_version.version
564
565 print("Version: {:d}.{:d}.{:d}.{:d}.{:d}".format(*version))
566
567 print("")
568
569
570@exceptions_handler(Exception)

Callers 1

mainFunction · 0.85

Calls 2

printFunction · 0.50
formatMethod · 0.45

Tested by

no test coverage detected