#rust, run executable from vairable

4 messages · Page 1 of 1 (latest)

drifting hatch
#

If test.bin is an executable, you can’t just run it like that - executables have plenty of metadata describing how they’re loaded into memory

#

In this case, you’re probably hitting the \x7FELF ahead (which decides as jg 0x47), jumping into the middle of a size field, which doesn’t decode as a valid instruction, and crashing

fiery moss
drifting hatch
#

You should debug then (although I’m fairly sure that command copies objects, not code)