This commit adds an option to set PC to the entry point of the file loaded using "target module load" command. In D28804, Greg asked me to separate this part under a different option.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Just set an error when "set_pc" is true and you get no entry point back from thee object file and this is good to go.
source/Symbol/ObjectFile.cpp | ||
---|---|---|
687–688 | Set an error if there is no valid entry point address. This would happen if someone tries to run load on a shared library. |
Set an error if there is no valid entry point address. This would happen if someone tries to run load on a shared library.