Wouldn't that depend on local laws? My assumption is that it would be covered by the recent EU court ruling that allows reverse engineering to fix bugs[0].
https://www.lexology.com/library/detail.aspx?g=f5b1193c-f423...
That ruling just states that it is not a copyright breach to decompile a program to correct errors.
It does not grant a carte blanche against other laws. DRM circumvention laws are separate offenses and are not overridden.