That would be an entirely seperate set of laws, and I have no idea what they are. This software is probably illegal as it's a tool to bypass DRM, which the DMCA explicitly says is illegal.
Your gun example wouldn't have any DRM, so this part of the DMCA wouldn't apply.
Your gun example wouldn't have any DRM, so this part of the DMCA wouldn't apply.