You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IL parser can extract false-positives if the Catalog.Get*String APIs are misused. To avoid this, and to warn of improper usage of the API, the IL parser should warn if non-constants are passed to the APIs.
Vernacular may actually extract the constant ldstr "Hello" instruction that is an argument for DoSomething because x (a non-constant load) is passed to GetString.
Fixing this addresses two issues:
no false-positive string extractions due to possible "bleeding" of ldstr instructions
catch improper usage of the API where non-constants are being passed (and thus not possible to extract)
The text was updated successfully, but these errors were encountered:
The IL parser can extract false-positives if the
Catalog.Get*String
APIs are misused. To avoid this, and to warn of improper usage of the API, the IL parser should warn if non-constants are passed to the APIs.Example:
Vernacular may actually extract the constant
ldstr "Hello"
instruction that is an argument forDoSomething
becausex
(a non-constant load) is passed toGetString
.Fixing this addresses two issues:
The text was updated successfully, but these errors were encountered: