Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No union type and virtual methods support in ArkTS analyzer #226

Open
MaxMilshin opened this issue May 25, 2024 · 0 comments
Open

No union type and virtual methods support in ArkTS analyzer #226

MaxMilshin opened this issue May 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@MaxMilshin
Copy link
Collaborator

For this sample, at line 32, analyzer can't resolve method isSame because variable c have union type (Foo|Bar), which is currently not supported.

Even if we were to support union types, there remains a broader issue: weak support for virtual methods in the IFDS core and specifically in the ArkTS extension. Currently, every call statement has a single callee method, which is not virtual. This limitation prevents running analyses like this one.

P.s. that issue related to lipen/taint-panda branch.

@MaxMilshin MaxMilshin added the enhancement New feature or request label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant