This page looks best with JavaScript enabled

指標篇

 ·  ☕ 1 min read

直接到跳到記憶體位址執行

When this machine was switched on, the hardware would call the subroutine whose address was stored in location 0.

法1

(*(void(*)())0)();

法2

(void(*)())0=0轉成function pointer

人看得懂的寫法是下面 宣告一個function pointer 指向位置0 並且執行它
Share on

呂奕珣
WRITTEN BY
呂奕珣
SDN ML FINTECH HFT