Slide Pokémon

From Glitch City Wiki
Jump to navigation Jump to search
An example of a 'freshly caught' Rattata that works for Coin Case arbitrary code execution.

A slide Pokémon is a Pokémon used in arbitrary code execution, most commonly for Coin Case arbitrary code execution.

It is a Pokémon which has its data 'skipped', usually by having the code 'fall through' to the next Pokémon. In general infosec terminology this is called a NOP slide, hence the name "slide Pokémon".

It is often best to use a low level 'freshly caught' Pokémon without any bad IVs for this, although another type of slide Pokémon includes one with a jump or relative jump to elsewhere in the game's RAM.

This Pokémon is used when the program counter reaches in the middle of a Pokémon's data (such as Pokémon 3) but it is better to represent the desired code in the next Pokémon's data.

For example, Coin Case arbitrary code execution redirects the program counter to FA98 (essentially DA98), which is the second byte of the third Pokémon's attack stat experience. However it is better to have the code fall through to Pokémon 4, in which a Pokémon like Quagsire (C3; jp yyxx) can be used to redirect the flow of the code to somewhere better such as box names or stored PC items.

Ideal in-game trade slide Pokémon

Good in-game trade slide Pokémon are the Onix trade in Violet City at level 5 and the Machop trade in the Goldenrod Department Store at level 13. These Pokémon, if obtained at this level, are guaranteed to be compatible slide Pokémon.

This article or section is a stub. You can help Glitch City Wiki by expanding it. RB 234 fs crop.png