mirror of
https://github.com/github/codeql.git
synced 2026-01-29 14:23:03 +01:00
Fix post-update nodes for function arguments.
This commit is contained in:
@@ -408,7 +408,7 @@ class PostUpdateNode extends Node {
|
||||
)
|
||||
or
|
||||
preupd instanceof ArgumentNode and
|
||||
mutableType(preupd.getType())
|
||||
mutableType(preupd.getType().getUnderlyingType())
|
||||
) and
|
||||
(
|
||||
preupd = this.(SsaNode).getAUse()
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
| parameter 0 | tst.go:10:2:10:29 | call to ReadFrom | tst.go:8:12:8:17 | definition of reader |
|
||||
| receiver | tst.go:10:2:10:29 | call to ReadFrom | tst.go:9:2:9:12 | definition of bytesBuffer |
|
||||
| result | main.go:51:2:51:14 | call to op | main.go:51:2:51:14 | call to op |
|
||||
| result | main.go:53:2:53:22 | call to op2 | main.go:53:2:53:22 | call to op2 |
|
||||
|
||||
Reference in New Issue
Block a user