Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: I found arbitary code execution in Pokemon Black 2!!!  (Read 791 times)

0 Members and 1 Guest are viewing this topic.

MarcinTVP8

  • GCLF Member
  • Offline Offline
  • 0OLDRED
    • View Profile
I found arbitary code execution in Pokemon Black 2!!!
« on: March 17, 2018, 09:16:16 am »
I discovered this completely by accident.
So, I found arbitary code execution in Pokemon Black 2.
I don't know where the code is executed.
The first time I experienced this, the game froze without bringing up the crash handler.
The second time and onwards it brought up the PC Pokemon screen, which has the cursor set to an glitch location. The game then crashed bringing up the crash handler.
I've attached the save in the attachment.
Just exit the gym and it'll happen.

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: I found arbitary code execution in Pokemon Black 2!!!
« Reply #1 on: March 17, 2018, 12:14:07 pm »
Assuming that's ACE, how did you obtain this save ?
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

MarcinTVP8

  • GCLF Member
  • Offline Offline
  • 0OLDRED
    • View Profile
Re: I found arbitary code execution in Pokemon Black 2!!!
« Reply #2 on: March 18, 2018, 10:20:54 am »
I just saved by myself. I made a save state before this even occured and saved my game.
I didn't know it would end like that.

Flandre Scarlet

  • Mistress of Scarlet Devil Mansion
  • GCLF Member
  • *
  • Offline Offline
  • Role playing as my favorite character is fun
    • View Profile
Re: I found arbitary code execution in Pokemon Black 2!!!
« Reply #3 on: March 18, 2018, 11:07:41 am »
I think he is asking what steps you took in order to get this save? Did you do anything special or did it just occur during normal gameplay?
I am a fan of Pokemon, Glitches, Touhou, Yugioh, Smash, Mario, Sonic, Kirby, (2D) Metroid, and MORE!

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: I found arbitary code execution in Pokemon Black 2!!!
« Reply #4 on: March 18, 2018, 12:54:14 pm »
Yep. I want a repro method, because only a save isn't useful.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

Flameduck

  • insert text here
  • GCLF Member
  • Offline Offline
  • Gender: Male
  • There's no point in SPLASHing!
    • View Profile
    • some forum about penguins
Re: I found arbitary code execution in Pokemon Black 2!!!
« Reply #5 on: March 18, 2018, 01:12:04 pm »
Judging from the save this looks to be from a randomized ROM which could change some things as well, so the more details the better we can determine how it happened exactly.
blub blub blub

MarcinTVP8

  • GCLF Member
  • Offline Offline
  • 0OLDRED
    • View Profile
Re: I found arbitary code execution in Pokemon Black 2!!!
« Reply #6 on: March 18, 2018, 02:17:32 pm »
I just did walk through walls past the guard and beat the gym.
Before this happened I saved a save state, so I was able to save the game normally.

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: I found arbitary code execution in Pokemon Black 2!!!
« Reply #7 on: March 18, 2018, 08:32:23 pm »
Custom ROM + cheat codes, I'm not trusting this, tbh.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

Flameduck

  • insert text here
  • GCLF Member
  • Offline Offline
  • Gender: Male
  • There's no point in SPLASHing!
    • View Profile
    • some forum about penguins
Re: I found arbitary code execution in Pokemon Black 2!!!
« Reply #8 on: March 18, 2018, 08:43:29 pm »
I guess if there actually is this kind of effect on a vanilla B2 ROM, it could be interesting just to see what exactly happened here. Did someone test this yet?
« Last Edit: March 18, 2018, 08:44:17 pm by Flameduck »
blub blub blub