Inference of static semantics for incomplete C programs.

dc.contributor.authorMelo, Leandro T. C.
dc.contributor.authorRibeiro, Rodrigo Geraldo
dc.contributor.authorAraújo, Marcos Roberto de
dc.contributor.authorPereira, Fernando Magno Quintao
dc.date.accessioned2019-04-08T14:28:06Z
dc.date.available2019-04-08T14:28:06Z
dc.date.issued2018
dc.description.abstractIncomplete source code naturally emerges in software development: during the design phase, while evolving, testing and analyzing programs. Therefore, the ability to understand partial programs is a valuable asset. However, this problem is still unsolved in the C programming language. Difficulties stem from the fact that parsing C requires, not only syntax, but also semantic information. Furthermore, inferring types so that they respect C’s type system is a challenging task. In this paper we present a technique that lets us solve these problems. We provide a unification-based type inference capable of dealing with C intricacies. The ideas we present let us reconstruct partial C programs into complete well-typed ones. Such program reconstruction has several applications: enabling static analysis tools in scenarios where software components may be absent; improving static analysis tools that do not rely on build-specifications; allowing stub-generation and testing tools to work on snippets; and assisting programmers on the extraction of reusable data-structures out of the program parts that use them. Our evaluation is performed on source code from a variety of C libraries such as GNU’s Coreutils, GNULib, GNOME’s GLib, and GDSL; on implementations from Sedgewick’s books; and on snippets from popular open-source projects like CPython, FreeBSD, and Git.pt_BR
dc.identifier.citationMELO, L. T. C. et al. Inference of static semantics for incomplete C programs. Proceedings of the ACM on Programming Languages, v. 2, p. 1-28, 2017. Disponível em: <https://dl.acm.org/citation.cfm?id=3158117>. Acesso em: 15 fev. 2019.pt_BR
dc.identifier.issn24751421
dc.identifier.urihttp://www.repositorio.ufop.br/handle/123456789/10962
dc.identifier.uri2https://dl.acm.org/citation.cfm?id=3158117pt_BR
dc.language.isoen_USpt_BR
dc.rightsrestritopt_BR
dc.subjectPartial programspt_BR
dc.subjectParsingpt_BR
dc.subjectType inferencept_BR
dc.titleInference of static semantics for incomplete C programs.pt_BR
dc.typeArtigo publicado em periodicopt_BR
Arquivos
Pacote Original
Agora exibindo 1 - 1 de 1
Nenhuma Miniatura disponível
Nome:
ARTIGO_InterferenceStaticSemantics.pdf
Tamanho:
588.71 KB
Formato:
Adobe Portable Document Format
Licença do Pacote
Agora exibindo 1 - 1 de 1
Nenhuma Miniatura disponível
Nome:
license.txt
Tamanho:
924 B
Formato:
Item-specific license agreed upon to submission
Descrição: