upvote
No one does it like this in practice, decompilation is almost always the first step.
reply
> decompilation is almost always the first step.

Still not clean room. It's just assembly written in a more human readable form, the decompiled code does exactly the same as the assembly.

reply
Nobody is suggesting you copy assembly or decompiled code over. You can use it to better understand the behavior, write functional specification (which is not copyrightable) and then base the new implementation on that.
reply
> Nobody is suggesting you copy assembly or decompiled code over.

I don't think I said anything about copying code, did I?

> The term implies that the design team works in an environment that is "clean" or demonstrably uncontaminated by any knowledge of the proprietary techniques used by the competitor. [1]

So no, you can not use it because the proprietary techniques are protected by copyright. There's a difference between what's the result and how does the software achieve that result. The first isn't copyrightable, the latter is.

[1] https://en.wikipedia.org/wiki/Clean-room_design

> write functional specification

And you need decompiled code to do that? Since when? If you write specification based on proprietary code, it's still proprietary code reworded. Name it however you want, it's still copyright infringement.

> [...] decompiled code [...] You can use it to [...] write functional specification [...] then base the new implementation on that.

So in the end: you're still basing the new implementation on the decompiled code.

reply
Then what constitutes clean room in your definition? I think you'll find that you've excluded every possible method.
reply
Different person here, but you can construct a spec by simply observing behavior of the system. You can even automate this, with fuzzing and related techniques.
reply