Signedness-Agnostic Program Analysis: Precise Integer Bounds for Low-Level Code. Navas, J. A., Schachte, P., Søndergaard, H., & Stuckey, P. J. In Jhala, R. & Igarashi, A., editors, APLAS 2012: Proceedings of the 10th Asian Symposium on Programming Languages and Systems, volume 7705, of Lecture Notes in Computer Science, pages 115–130, 2012. Springer. doi abstract bibtex Many compilers target common back-ends, thereby avoiding the need to implement the same analyses for many different source languages. This has led to interest in static analysis of LLVM code. In LLVM (and similar languages) most signedness information associated with variables has been compiled away. Current analyses of LLVM code tend to assume that either all values are signed or all are unsigned (except where the code specifies the signedness). We show how program analysis can simultaneously consider each bit-string to be both signed and unsigned, thus improving precision, and we implement the idea for the specific case of integer bounds analysis. Experimental evaluation shows that this provides higher precision at little extra cost. Our approach turns out to be beneficial even when all signedness information is available, such as when analysing C or Java code.
@InProceedings{Nav-Sch-Son-Stu_APLAS12,
author = {Jorge A. Navas and
Peter Schachte and
Harald S{\o}ndergaard and
Peter J. Stuckey},
title = {Signedness-Agnostic Program Analysis:
Precise Integer Bounds for Low-Level Code},
editor = {R. Jhala and A. Igarashi},
booktitle = {APLAS 2012: Proceedings of the 10th Asian Symposium
on Programming Languages and Systems},
series = {Lecture Notes in Computer Science},
volume = {7705},
pages = {115--130},
publisher = {Springer},
year = {2012},
doi = {10.1007/978-3-642-35182-2_9},
abstract = {Many compilers target common back-ends, thereby
avoiding the need to implement the same analyses
for many different source languages. This has led
to interest in static analysis of LLVM code.
In LLVM (and similar languages) most signedness
information associated with variables has been
compiled away. Current analyses of LLVM code tend
to assume that either all values are signed or all
are unsigned (except where the code specifies the
signedness). We show how program analysis can
simultaneously consider each bit-string to be both
signed and unsigned, thus improving precision,
and we implement the idea for the specific case of
integer bounds analysis. Experimental evaluation
shows that this provides higher precision at little
extra cost. Our approach turns out to be beneficial
even when all signedness information is available,
such as when analysing C or Java code.},
keywords = {Abstract domains, Abstract interpretation, Interval analysis, Machine arithmetic, C analysis, LLVM},
}
Downloads: 0
{"_id":"rxyn6yPn8uRx8mLvQ","bibbaseid":"navas-schachte-sndergaard-stuckey-signednessagnosticprogramanalysispreciseintegerboundsforlowlevelcode-2012","author_short":["Navas, J. A.","Schachte, P.","Søndergaard, H.","Stuckey, P. J."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","author":[{"firstnames":["Jorge","A."],"propositions":[],"lastnames":["Navas"],"suffixes":[]},{"firstnames":["Peter"],"propositions":[],"lastnames":["Schachte"],"suffixes":[]},{"firstnames":["Harald"],"propositions":[],"lastnames":["Søndergaard"],"suffixes":[]},{"firstnames":["Peter","J."],"propositions":[],"lastnames":["Stuckey"],"suffixes":[]}],"title":"Signedness-Agnostic Program Analysis: Precise Integer Bounds for Low-Level Code","editor":[{"firstnames":["R."],"propositions":[],"lastnames":["Jhala"],"suffixes":[]},{"firstnames":["A."],"propositions":[],"lastnames":["Igarashi"],"suffixes":[]}],"booktitle":"APLAS 2012: Proceedings of the 10th Asian Symposium on Programming Languages and Systems","series":"Lecture Notes in Computer Science","volume":"7705","pages":"115–130","publisher":"Springer","year":"2012","doi":"10.1007/978-3-642-35182-2_9","abstract":"Many compilers target common back-ends, thereby avoiding the need to implement the same analyses for many different source languages. This has led to interest in static analysis of LLVM code. In LLVM (and similar languages) most signedness information associated with variables has been compiled away. Current analyses of LLVM code tend to assume that either all values are signed or all are unsigned (except where the code specifies the signedness). We show how program analysis can simultaneously consider each bit-string to be both signed and unsigned, thus improving precision, and we implement the idea for the specific case of integer bounds analysis. Experimental evaluation shows that this provides higher precision at little extra cost. Our approach turns out to be beneficial even when all signedness information is available, such as when analysing C or Java code.","keywords":"Abstract domains, Abstract interpretation, Interval analysis, Machine arithmetic, C analysis, LLVM","bibtex":"@InProceedings{Nav-Sch-Son-Stu_APLAS12,\n author = {Jorge A. Navas and \n\t\tPeter Schachte and \n\t\tHarald S{\\o}ndergaard and\n\t\tPeter J. Stuckey},\n title = {Signedness-Agnostic Program Analysis: \n\t\tPrecise Integer Bounds for Low-Level Code},\n editor = {R. Jhala and A. Igarashi},\n booktitle = {APLAS 2012: Proceedings of the 10th Asian Symposium \n \ton Programming Languages and Systems},\n series = {Lecture Notes in Computer Science},\n volume = {7705},\n pages = {115--130},\n publisher = {Springer},\n year = {2012},\n doi = {10.1007/978-3-642-35182-2_9},\n abstract = {Many compilers target common back-ends, thereby \n\t\tavoiding the need to implement the same analyses \n\t\tfor many different source languages. This has led\n\t\tto interest in static analysis of LLVM code. \n\t\tIn LLVM (and similar languages) most signedness \n\t\tinformation associated with variables has been \n\t\tcompiled away. Current analyses of LLVM code tend\n\t\tto assume that either all values are signed or all\n\t\tare unsigned (except where the code specifies the \n\t\tsignedness). We show how program analysis can \n\t\tsimultaneously consider each bit-string to be both \n\t\tsigned and unsigned, thus improving precision, \n\t\tand we implement the idea for the specific case of \n\t\tinteger bounds analysis. Experimental evaluation\n\t\tshows that this provides higher precision at little\n\t\textra cost. Our approach turns out to be beneficial\n\t\teven when all signedness information is available,\n\t\tsuch as when analysing C or Java code.},\n keywords = {Abstract domains, Abstract interpretation, Interval analysis, Machine arithmetic, C analysis, LLVM},\n}\n\n","author_short":["Navas, J. A.","Schachte, P.","Søndergaard, H.","Stuckey, P. J."],"editor_short":["Jhala, R.","Igarashi, A."],"key":"Nav-Sch-Son-Stu_APLAS12","id":"Nav-Sch-Son-Stu_APLAS12","bibbaseid":"navas-schachte-sndergaard-stuckey-signednessagnosticprogramanalysispreciseintegerboundsforlowlevelcode-2012","role":"author","urls":{},"keyword":["Abstract domains","Abstract interpretation","Interval analysis","Machine arithmetic","C analysis","LLVM"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"inproceedings","biburl":"https://people.eng.unimelb.edu.au/harald/bibbase.bib","dataSources":["yWvm3kzg5vKQAPLm7","ofmsZryxNDBSpE7j5","9aC4cxLD8D6oJ3FLN","wpkuJrZJJtqra3FbL","W7ih7WyQivP4EDh83","BNGFBQQncqevukxoe","q5pWX4XZgAS4TQBof","yb3uN577XrYa7qf57","9jmvjAEoFta6emcgS","XqcrNTrCCBr9mSd37"],"keywords":["abstract domains","abstract interpretation","interval analysis","machine arithmetic","c analysis","llvm"],"search_terms":["signedness","agnostic","program","analysis","precise","integer","bounds","low","level","code","navas","schachte","søndergaard","stuckey"],"title":"Signedness-Agnostic Program Analysis: Precise Integer Bounds for Low-Level Code","year":2012}