Open Popolon opened 5 months ago
This binary is very small, and contains almost no instructions (the .text section is 32 bytes long), that's why cpu_rec does not detect the type of cpu. Do you have the same issue when running cpu_rec on RISC-V binaries that actually do something?
In attachement, a RISC-V binary, object file and assembly source code, assembled with clang. The binary is wrongly detected as OCaml.
If I'm not wrong, I used these instruction to make this binary clang_build64.sh:
hello_clang.tar.gz