Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Support recursive analysis of CallExpr in MemberExpr #6

Open
fraxken opened this issue Jan 1, 2023 · 0 comments
Open

Support recursive analysis of CallExpr in MemberExpr #6

fraxken opened this issue Jan 1, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@fraxken
Copy link
Member

fraxken commented Jan 1, 2023

The following code is not supported:

const aA = Function.prototype.call;
const bB = require;

const createHashBis = aA.call(bB, bB, "crypto").createHash;
console.log(createHashBis);

The issue is here:

aA.call(bB, bB, "crypto").createHash;

There is a mix between CallExpr and MemberExpr that make things hard to analyze.

@fraxken fraxken added enhancement New feature or request help wanted Extra attention is needed labels Jan 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant