Comment

Comment by dark-star

It doesn't work with my ELF file:

    [orchestra] [darkstar@shiina revng]$ ./revng artifact --analyze --progress decompile-to-single-file ../maytag.ko 
    [=======================================] 100% 0.57s Analysis list revng-initial-auto-analysis (5): import-binary
    [===================>                   ]  50% 0.57s Run analyses lists (2): revng-initial-auto-analysis
    [=========>                             ]  25% 0.57s revng-artifact (2): Run analyses
    Only ELF executables and ELF dynamic libraries are supported
    [orchestra] [darkstar@shiina revng]$ file ../maytag.ko 
    ../maytag.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), not stripped
Does it not support FreeBSD binaries?

Edit: Ah I missed that it doesn't support kernel modules, probably has nothing to do with FreeBSD but the fact that this is not a simple executable

parent dark-star 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton