Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of an article from Glitch City Laboratories wiki.

A live version of this article is available at the Glitch City Wiki here.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of the wiki in .tar.gz or .xml.gz formats.

Slide Pokémon

This article is outdated

Feel free to update it. Reason given: Add the mechanics Háčky researched

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.
This article or section is a stub. You can help wiki by [ expanding it].