Sunday, June 13, 2004

In a previous post, I showed how you could use the IL graph to do static fault detection (at least for simple but recurrent faults). Since the code was using Reflector API, but it was more the job for FxCop rules. I started to port the code to FxCop.

As you can see on the screenshot below it is working, at least on my simple examples. In fact, it seems that FxCop decompiler is still a little buggy because it returns erroneous target offset for brtrue.s or brfalse.s IL instruction. Therefore, you will have to wait to play with this new toy :)

The figure below shows the FxCop rule applied to the test class showed in the previous post. As expected, ArgumentNotChecked fails, but the 2 others succeed the tests.

posted on Monday, June 14, 2004 4:09:00 AM UTC  #    Comments [0]
Tracked by:
"champions league live" (online) [Trackback]
"livorno siena" (online) [Trackback]
"Phentermine info." (Phentermine.) [Trackback]
Comments are closed.