Commit e23b5cf2 authored by Chu's avatar Chu

mov get_execute to Elf ctor

parent 8bee9e03
......@@ -52,8 +52,7 @@ std::string Process::get_execute()
std::size_t Process::get_entry()
{
auto execute = get_execute();
Elf elf(execute);
Elf elf(get_execute());
elf.set_base(get_base());
return elf.get_entry();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment