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

Function print_strings

api/python/examples/elf_reader.py:436–443  ·  view source on GitHub ↗
(binary)

Source from the content-addressed store, hash-verified

434
435@exceptions_handler(Exception)
436def print_strings(binary):
437 print("== Strings ==\n")
438
439
440 strings = binary.strings
441 print("Strings: ({:d})".format(len(binary.strings)))
442 for s in strings:
443 print(" {}".format(s))
444
445
446@exceptions_handler(Exception)

Callers 1

mainFunction · 0.70

Calls 2

printFunction · 0.50
formatMethod · 0.45

Tested by

no test coverage detected