C++: Use the index to to get the 'most converted' and 'least converted' instruction in a bunch of places.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-09-01 13:03:29 +01:00
parent 4dfaf9225c
commit d2bb73ba1f
12 changed files with 187 additions and 136 deletions

View File

@@ -4,8 +4,46 @@ WARNING: Module DataFlow has been deprecated and may be removed in future (taint
WARNING: Module DataFlow has been deprecated and may be removed in future (taint.ql:68,25-33)
WARNING: Module TaintTracking has been deprecated and may be removed in future (taint.ql:73,20-33)
testFailures
| map.cpp:172:20:172:30 | // $ ast,ir | Missing result:ir= |
| map.cpp:174:20:174:30 | // $ ast,ir | Missing result:ir= |
| map.cpp:324:20:324:30 | // $ ast,ir | Missing result:ir= |
| map.cpp:326:20:326:30 | // $ ast,ir | Missing result:ir= |
| map.cpp:168:7:168:27 | ... = ... | Unexpected result: ir=168:7 |
| map.cpp:168:7:168:27 | ... = ... | Unexpected result: ir=168:20 |
| map.cpp:168:7:168:27 | ... = ... indirection | Unexpected result: ir=168:7 |
| map.cpp:168:7:168:27 | ... = ... indirection | Unexpected result: ir=168:20 |
| map.cpp:168:7:168:27 | call to source | Unexpected result: ir=168:7 |
| map.cpp:168:7:168:27 | call to source | Unexpected result: ir=168:20 |
| map.cpp:168:7:168:27 | call to source indirection | Unexpected result: ir=168:7 |
| map.cpp:168:7:168:27 | call to source indirection | Unexpected result: ir=168:20 |
| map.cpp:168:31:168:41 | // $ ast,ir | Missing result:ir= |
| map.cpp:170:7:170:30 | ... = ... | Unexpected result: ir=170:7 |
| map.cpp:170:7:170:30 | ... = ... | Unexpected result: ir=170:23 |
| map.cpp:170:7:170:30 | ... = ... indirection | Unexpected result: ir=170:7 |
| map.cpp:170:7:170:30 | ... = ... indirection | Unexpected result: ir=170:23 |
| map.cpp:170:7:170:30 | call to source | Unexpected result: ir=170:7 |
| map.cpp:170:7:170:30 | call to source | Unexpected result: ir=170:23 |
| map.cpp:170:7:170:30 | call to source indirection | Unexpected result: ir=170:7 |
| map.cpp:170:7:170:30 | call to source indirection | Unexpected result: ir=170:23 |
| map.cpp:170:34:170:44 | // $ ast,ir | Missing result:ir= |
| map.cpp:320:7:320:27 | ... = ... | Unexpected result: ir=320:7 |
| map.cpp:320:7:320:27 | ... = ... | Unexpected result: ir=320:20 |
| map.cpp:320:7:320:27 | ... = ... indirection | Unexpected result: ir=320:7 |
| map.cpp:320:7:320:27 | ... = ... indirection | Unexpected result: ir=320:20 |
| map.cpp:320:7:320:27 | call to source | Unexpected result: ir=320:7 |
| map.cpp:320:7:320:27 | call to source | Unexpected result: ir=320:20 |
| map.cpp:320:7:320:27 | call to source indirection | Unexpected result: ir=320:7 |
| map.cpp:320:7:320:27 | call to source indirection | Unexpected result: ir=320:20 |
| map.cpp:320:31:320:41 | // $ ast,ir | Missing result:ir= |
| map.cpp:322:7:322:30 | ... = ... | Unexpected result: ir=322:7 |
| map.cpp:322:7:322:30 | ... = ... | Unexpected result: ir=322:23 |
| map.cpp:322:7:322:30 | ... = ... indirection | Unexpected result: ir=322:7 |
| map.cpp:322:7:322:30 | ... = ... indirection | Unexpected result: ir=322:23 |
| map.cpp:322:7:322:30 | call to source | Unexpected result: ir=322:7 |
| map.cpp:322:7:322:30 | call to source | Unexpected result: ir=322:23 |
| map.cpp:322:7:322:30 | call to source indirection | Unexpected result: ir=322:7 |
| map.cpp:322:7:322:30 | call to source indirection | Unexpected result: ir=322:23 |
| map.cpp:322:34:322:44 | // $ ast,ir | Missing result:ir= |
| taint.cpp:16:8:16:14 | source1 | Unexpected result: ir=12:13 |
| taint.cpp:16:8:16:14 | source1 | Unexpected result: ir=12:22 |
| taint.cpp:16:18:16:28 | // $ ast,ir | Missing result:ir= |
| taint.cpp:17:8:17:16 | ++ ... | Unexpected result: ir=12:13 |
| taint.cpp:17:8:17:16 | ++ ... | Unexpected result: ir=12:22 |
| taint.cpp:17:20:17:30 | // $ ast,ir | Missing result:ir= |
failures