In this section

Historical Rules · 30 September 2016

Rule 508.4

Official source text from the 30 September 2016 Rules release

If an ability of an attacking creature refers to a defending player, or a spell or ability refers to both an attacking creature and a defending player, then unless otherwise specified, the defending player it’s referring to is the player that creature was attacking at the time it became an attacking creature that combat, or the controller of the planeswalker that creature was attacking at the time it became an attacking creature that combat.

Find this number in the current Rules