That would run face first into proprietary info and corporate classified info.
The other side of regulation should be around purchasing. Bad repairability, delays in repairs, and proprietary parts need to be more important factors when deciding on what device to buy. Either at the government level for public institutions, or at least at the corporate level for private
There’s this app, I don’t use it often but leave it installed for this
https://github.com/MobileFirstLLC/irregular-expressions
The option
spongemock
LeTs YoU wRiTe LiKe ThIs