Data flow for Go json/encoding Encoder #181
-
I am trying to model the json/encoding Encoder data flow. For example,
The data flow should go from I created the following FunctionModel's
I assumed that the Method would trace the data flow to the receiver, which would then trace it to the parameter. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
I don't think the Also, since this seems like an oversight in our models, feel free to open a PR if you get it working 😄 EDIT: I wrote The 1: Note 2: Note there is no case here for a call, only for pointer logic, writes, and mutable arguments: EDIT2: Nevermind, it has to do with the SsaBit of [1] above; see the comment below. |
Beta Was this translation helpful? Give feedback.
-
That is a very reasonable assumption. It appears that this doesn't currently work due to somewhat technical reasons. We will look into making it work. |
Beta Was this translation helpful? Give feedback.
-
We actually have models both for |
Beta Was this translation helpful? Give feedback.
-
Thanks for your report, @jason-invision! The just-merged github/codeql-go#348 should hopefully fix this; can you try again? |
Beta Was this translation helpful? Give feedback.
Thanks for your report, @jason-invision! The just-merged github/codeql-go#348 should hopefully fix this; can you try again?