Retpoline

Creator
Creator
Seonglae Cho
Created
Created
2024 Jun 10 13:49
Editor
Edited
Edited
2024 Jun 14 4:28
Refs
Refs

Pure software approach for preventing branch-target-injection

Use return (another form of an indirect jump) instruction
notion image
architecturally capture spec 은 절대 실행 안되지만 branch prediction
Speculation uses return stack buffer (RSB). RSB, at the top, has an address that correspond to an infinite loop, a harmless path to speculate into. RSB, unlike BTB, cannot be polluted by adversaries.
 
 
 
 
 

Recommendations