The problem here is that nothing was ever defined in the law, so it's anyones guess (and a lawyer's argument) what is or isn't legal and until its challenged in court, there's really nothing to go on other than "generally accepted"
Regarding a Muzzle Break - the "evil" feature is actually the threads on the end of the barrel. The law states "A flash suppressor or threads to accept a flash suppressor" It has been generally accepted that bind pinning and welding (which can be removed with a tool - a drill) makes the threads no longer able to "accept a flash suppressor"
Regarding the stock - the Law says "Folding or Telescoping" stock, but never provides a definition for either. One school of thought is that if you add a feature that requires the user to use a tool to adjust the length of pull of the stock, the stock changes from a "telescoping" stock to an "Adjustable Length of Pull" stock like many precision target rifles use. Others disagree with that assement.
Eitherway, the key is to prevent the stock from being able to adjust on the fly. On many such stocks, it is possible to run a pin through the adjustment lever such that the lever can not be acctuated due to the interference of the pin. Again, this is a generally accepted method, but if it would hold up to a challenge in court is anyones guess since they never bothered to define "telescoping"