Lines Matching refs:log
32 def __init__(self, elf_path, log): argument
33 self.log = log
48 self.log.debug(f"section {section_name} not found.")
50 self.log.info(f"processing '{section_name}' symbol table...")
51 self.log.debug(f"(symbol table is at file offset 0x{symtab['sh_offset']:X})")
64 self.log.debug(f"found imported symbol '{sym.name}' at index {i}")
74 self.log.error("no symbol table found in file")
79 self.log.info(f"LLEXT has {len(imports)} import(s)")
117 self.log.info(msg)
122 self.log.error(f"unexpected non-zero st_value for symbol {symbol.name}")
161 log = logging.getLogger(__file__)
165 log.addHandler(console)
168 log.setLevel(logging.DEBUG)
170 log.setLevel(logging.INFO)
172 log.setLevel(logging.WARNING)
174 return log
179 log = _init_log(args.verbose)
181 log.info(f"inject_slids_in_llext: {args.elf_file}")
183 preparator = LLEXTSymtabPreparator(args.elf_file, log)