Hijack another binary for 2nd stage

Instead of using ptrace hacks, use another hack instead :D
This commit is contained in:
topjohnwu
2020-04-19 22:15:12 -07:00
parent 765d5d9729
commit e219867cdf
4 changed files with 52 additions and 52 deletions

View File

@@ -101,7 +101,7 @@ public:
class SARFirstStageInit : public SARBase {
private:
void traced_exec_init();
void prepare();
protected:
void early_mount() override;
public:
@@ -110,7 +110,8 @@ public:
};
void start() override {
early_mount();
traced_exec_init();
prepare();
exec_init();
}
};