Open ghost opened 3 years ago
Currently it is not possible to load an ELF or any other type of binary file directly.
There is a start to the work on executing programs from ELF files in the elfloading
branch. I don't remember how much work it needs before it would be ready to merge into master. I would expect that the changes will land in master some time in the next year, but I don't know when I will get to it.
Alternatively, with the "self modifying code" option it is possible to make a program that would load a binary file into memory.
any updates on this? it's been 4 years and the ability to make use external tools like gcc without having to use objdump or similar would be nice.
Can I load and run RISCV instruction machine codes directly on RARS?