I think there are three valid reasons to restrict or license weapons:
1) It can not be controlled. I would thus allow legislation on chemical, biological, and informatic weapons. I'm not sure if informatic is the right word, but computer viruses, basilisks (which might not be a thing now, but...