text: In the manufacture of smokeless powder, diphenylamine is commonly used as a stabilizer, such that the gunshot residue analysis seeks to quantify traces of diphenylamine. Diphenylamine functions by binding nitrogen oxide degradation products), forming compounds like nitrodiphenylamine. In this way, DPA prevents these degradation products from accelerating further degradation.