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

Function print_rpath_command

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

Source from the content-addressed store, hash-verified

348
349@exceptions_handler(Exception)
350def print_rpath_command(binary):
351
352 format_str = "{:<13} {:<30}"
353 format_hex = "{:<13} 0x{:<28x}"
354 format_dec = "{:<13} {:<30d}"
355
356 print("== Rpath Command ==")
357 cmd = binary.rpath
358 print("Path: {}".format(cmd.path))
359
360
361 print("")
362
363
364

Callers 1

mainFunction · 0.85

Calls 2

printFunction · 0.50
formatMethod · 0.45

Tested by

no test coverage detected