Narc (2002)
Narc is a 2002 American crime film written and directed by Joe Carnahan. It was released to critical acclaim and moderate commercial success.. The plot revolves around the efforts of two police detectives in search of the murderer of an undercover police officer. As they investigate, they engage in unethical behavior and give viewers a glimpse into the seedy side of undercover work.
More at Wikipedia.