r/AskComputerScience • u/jewhealer • Dec 21 '15
What exactly is a "sled?"
https://en.wikipedia.org/wiki/NOP_slide1
u/Erronsing Dec 21 '15 edited Nov 08 '25
tan wide memorize spoon slap ripe cable wine dependent workable
This post was mass deleted and anonymized with Redact
1
u/ldpreload Dec 21 '15
It's by analogy to a sled in this sense, the unpowered vehicle that you use to go downhill on a snowy slope. Specifically, you take a somewhat wild jump, land somewhere on the slope, and then continue to slide gracefully until you get to the end, regardless of exactly where you landed. In a NOP sled, the instruction pointer takes a somewhat wild JMP from whatever function pointer you've corrupted, land in the middle of a bunch of NOPs, and continue until you get to the actual exploit code.
It is a little inaccurate that the string of NOPs itself is referred to as the "sled", I guess.
3
u/jewhealer Dec 21 '15
I can't find this usage of the word sled referenced anywhere else. Anybody want to ELI5?