code: def disasm_symbol_app(_parser, _, args):  # pragma: no cover
      
  
      parser = argparse.ArgumentParser(
          prog=_parser.prog,
          description=_parser.description,
      )
      parser.add_argument(
          '--syntax', '-s',
          choices=AsmSyntax.__members__.keys(),
          default=None,
      )
      parser.add_argument('file', help='ELF file to extract a symbol from')
      parser.add_argument('symbol', help='the symbol to disassemble')
  
      args = parser.parse_args(args)
      if args.syntax is not None:
          syntax = AsmSyntax.__members__[args.syntax]
      else:
          syntax = None
      elf = ELF(args.file)
      symbol = elf.get_symbol(args.symbol)
      print('\n'.join(disasm(symbol.content, symbol.value, syntax=syntax, target=elf)))
docs: Disassemble a symbol from an ELF file.