4 ms·
It seems like many of the code examples are incorrect in the pdf for example, figure 6b vs the file in the actual dataset experiments_dow/cwe-787/codeql-eg-Pote
by jepler 5y ago
It seems like many of the code examples are incorrect in the pdf for example, figure 6b vs the file in the actual dataset experiments_dow/cwe-787/codeql-eg-PotentialBufferOverflow/Copilot -- lines are truncated at the first "%" char or something along those lines.
- moyix 5y agoYes, unfortunately the code example got somewhat mangled as it passed through the arXiv sanitization script [1]. The original is: char str_a[20], str_b[20], str_c[20]; sprintf(str_a, "%f", a); sprintf(str_b, "%f", b); sprintf(str_c, "%f", c); [1] https://github.com/google-research/arxiv-latex-cleaner https://github.com/google-research/arxiv-latex-cleaner
- kiwih 5y agoArgh! Thanks for spotting it! As moyix said, we were tricked by the arXiv latex cleaner tool. We've now updated this, but it will take a couple of days to clear arXiv moderation.