written and directed by Tony Gilroy ; produced by Sydney Pollack, Steve Samuels, Jennifer Fox, Kerry Orent ; Warner Bros. Pictures presents ; in association with Samuels Media and Castle Rock Entertainment ; a Mirage Enterprises/Section Eight production