The man arrested for breaking into Sandra Bullock's house earlier this month didn't have just one machine gun ... he had an arsenal.
TMZ broke the story ... Joshua Corbett actually got inside Sandra's house while she was home. Police later found a machine gun at his home. Authorities just announced ... they now have more than 1 machine gun -- they have 7. And police found other weapons as well.
Our law enforcement sources say Corbett was NOT at Bullock's house to burglarize it ... he wanted to see her. Turns out he never did because she locked herself in a room.
The D.A. has now charged Corbett with 19 felonies, including 7 counts of possession of a machine gun, 2 counts of possession of an assault weapon and 10 counts of possession of a destructive device -- we're told they're red-tipped tracer rounds. He's also been charged with stalking.