My layman understanding (as someone who isn't a lawyer but has been tasked with some reimplementations), is that it at least is governed by different sections of law. For me it's the European Software Directive where Article 5 is pretty generous and governs basically "observing" software for reverse engineering. Article 6 is less generous and is about decompilation. There you basically can only to it to ensure interoperability.
So depending on what the goal is (making an interoperable piece of software, or making a clone?), you might want to stay under Article 5, and steer clear of Article 6.
So depending on what the goal is (making an interoperable piece of software, or making a clone?), you might want to stay under Article 5, and steer clear of Article 6.
https://vidstromlabs.com/blog/the-legal-boundaries-of-revers...