Anoscopy is a procedure during which your doctor examines the inside lining of your anus and rectum. The examination looks for abnormal growths, bleeding, hemorrhoids, inflammation and diseases, including diverticulosis.