Q:

Term for law workarounds

Let's imagine there is some law (for example, gambling prohibition law) and malefactors try to find some workarounds to continue their business (for example, pretend like this is not gambling but lottery). What are these law workarounds called in general?

A:

They're called loopholes or legal loopholes, if you want to make it clear that you're referring to a loophole in a law.
As a side note, corresponding verbal phrases include exploiting the loophole or circumventing the law.

A:

You might say they found a loophole. 

