Skip to content

Unexpected exception raised: <class 'Exception'>. #2793

@mike-hunhoff

Description

@mike-hunhoff

sources:

extended:

Traceback (most recent call last):
  File "~/Documents/.capa_latest/bin/capa", line 7, in <module>
    sys.exit(main())
             ~~~~^^
  File "~/Documents/capa/capa/main.py", line 1036, in main
    extractor: FeatureExtractor = get_extractor_from_cli(args, input_format, backend)
                                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/Documents/capa/capa/main.py", line 874, in get_extractor_from_cli
    extractor = capa.loader.get_extractor(
        args.input_file,
    ...<6 lines>...
        sample_path=sample_path,
    )
  File "~/Documents/capa/capa/loader.py", line 300, in get_extractor
    vw = get_workspace(input_path, input_format, sigpaths)
  File "~/Documents/capa/capa/loader.py", line 171, in get_workspace
    vw = viv_utils.getWorkspace(str(path), analyze=False, should_save=False)
  File "~/Documents/.capa_latest/lib/python3.13/site-packages/viv_utils/__init__.py", line 118, in getWorkspace
    vw.loadFromFile(fp)
    ~~~~~~~~~~~~~~~^^^^
  File "~/Documents/.capa_latest/lib/python3.13/site-packages/vivisect/__init__.py", line 2891, in loadFromFile
    fname = mod.parseFile(self, filename=filename, baseaddr=baseaddr)
  File "~/Documents/.capa_latest/lib/python3.13/site-packages/vivisect/parsers/elf.py", line 32, in parseFile
    return loadElfIntoWorkspace(vw, elf, filename=filename, baseaddr=baseaddr)
  File "~/Documents/.capa_latest/lib/python3.13/site-packages/vivisect/parsers/elf.py", line 262, in loadElfIntoWorkspace
    raise Exception("Unsupported Architecture: %d\n", elf.e_machine)
Exception: ('Unsupported Architecture: %d\n', 183)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions