fix(javascript): distinguish Map lookups from network endpoints
Resolve unchanged Map operations through shared binding, capture, mutation, and ambient escape facts. Reuse that proof in application and captured bundle analysis; unresolved get/delete receivers remain inferred candidates. Preserve repeated native operations without manufacturing receiver escapes. Retain uncertainty for real escapes, opaque eval, and changed constructor adder hooks. Converge stored aliases at the producing boundary. Adapt the JavaScript changes from #4863, excluding its Linux resource fix. Add captured-bundle parity, repeated-operation and constructor-hook coverage. Fixes #4853 Co-authored-by: abdooo2235 <[email protected]>
This commit is contained in:
1 parent
e6c487799b
commit
fbfdb6abe9
16 files changed
+1021
-73
No files matched your search
@@ -42,7 +42,7 @@ export interface JavaScriptAnalysisAccumulator {
|
||||
electronCallPathLimitReached?: boolean;
|
||||
readonly references: LocatedJavaScriptFinding<JavaScriptStaticReference>[];
|
||||
readonly endpoints: LocatedJavaScriptFinding<JavaScriptStaticEndpoint>[];
|
||||
/** Dynamic targets held until the shared mutation index is requested on demand. */
|
||||
/** Target and receiver identities awaiting the shared mutation index. */
|
||||
readonly pendingNetworkCalls: {
|
||||
readonly node:
|
||||
| t.CallExpression
|
||||
|
||||
Reference in new issue
Block a user