Commit graph

9 commits

Author SHA1 Message Date
Venkatesh Kotwade
0f9412c2ac feat: Add detection for nested contexts in function literals 2024-08-25 23:32:30 +05:30
Gabriel Augendre
091030580e feat: detect in nested blocks 2024-07-23 19:07:34 +02:00
Michael Urman
69e9ae12fc Explain getRootIdent/ObjectOf/Pos check 2024-05-29 10:26:10 -05:00
Michael Urman
3e9e29f41c Test and fix cases with nested contexts
As long as the context is rooted in a non-pointer value that has a new
copy in the loop, it is as safe to copy that value as it is to copy the
context. So only report such cases when they are indirected and thus
shared.
2024-05-29 09:47:58 -05:00
a2187f17e7 fix: remove panic 2024-03-28 00:08:19 +01:00
781d685146 refactor: rename foreshadow to fatcontext 2024-03-27 23:50:12 +01:00
e294cd822f fix: don't touch AST 2024-03-27 19:57:23 +01:00
30700a7521 update analyzer doc wording 2024-03-27 19:25:49 +01:00
c07c76b205 initial commit 2024-03-27 19:24:38 +01:00