En förundersökning har inletts om grovt vapenbrott och försök till mord.