C++: Add bcopy to models and use it.#3788
Conversation
Not exactly sure, no. A quick search only found it being imported in |
|
Looks like the only use is in |
Ah good spot, I'd missed this use. I've added a test of MissingNullTest.ql that includes |
|
It looks like there's a failing test. I will have to come back to this and investigate. |
|
Sorry for the long delay getting back to this... I've fixed the failing test - I've also modernized some code and removed the taint flow from size parameters; we don't generally consider that taint any more. |
|
Fixed merge conflict. |
|
Looks like |
|
Fixed. |
Add
bcopyto theMemcpyFunctionmodel.Have
callDereferencesuse models rather than duplicating this data itself. @MathiasVP do you have any idea whatDereferences.qll'scallDereferencesis used for? I'd like to figure out a way to explicitly test this change.