Codex Shredder

Oracle Text

T: Target player puts the top card of their library into their graveyard.

5, T, Sacrifice Codex Shredder: Return target card from your graveyard to your hand.

Card Rulings

10/1/2012 You choose the target of Codex Shredder’s last ability before paying its costs, so you can’t return Codex Shredder to your hand this way.