2

I have read that Roslyn does not provide a native CFG implementation, nor a public inter- or intra-data-flow analysis. However that was a source based on Roslyn RC2 which is probably really old. Is it still the case today?

I am trying to do taint analysis, i.e. I should be able to trace a variable after it has been passed through functions or assigned to other variables.

Any help will be appreciated! Thanks!

4

2 に答える 2

4

1.2 の Roslyn には、1 つのメソッド内の一連のスパンで使用されている変数を理解するための組み込みのデータ フロー分析が制限されています。これは、どの変数を移動する必要があるかを確認するための「抽出メソッド」リファクタリングに使用されます。そうでなければ、何か大きなことをしたいのであれば、あなたはまだ一人です。

于 2016-05-23T17:18:32.100 に答える