Inference of static semantics for incomplete C programs.

Registro completo de metadados
MetadadosDescriçãoIdioma
Autor(es): dc.creatorMelo, Leandro T. C.-
Autor(es): dc.creatorRibeiro, Rodrigo Geraldo-
Autor(es): dc.creatorAraújo, Marcos Roberto de-
Autor(es): dc.creatorPereira, Fernando Magno Quintao-
Data de aceite: dc.date.accessioned2025-08-21T15:47:49Z-
Data de disponibilização: dc.date.available2025-08-21T15:47:49Z-
Data de envio: dc.date.issued2019-04-08-
Data de envio: dc.date.issued2019-04-08-
Data de envio: dc.date.issued2018-
Fonte completa do material: dc.identifierhttp://www.repositorio.ufop.br/handle/123456789/10962-
Fonte completa do material: dc.identifierhttps://dl.acm.org/citation.cfm?id=3158117-
Fonte: dc.identifier.urihttp://educapes.capes.gov.br/handle/capes/1024298-
Descrição: dc.descriptionIncomplete 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.-
Formato: dc.formatapplication/pdf-
Idioma: dc.languageen-
Direitos: dc.rightsrestrito-
Palavras-chave: dc.subjectPartial programs-
Palavras-chave: dc.subjectParsing-
Palavras-chave: dc.subjectType inference-
Título: dc.titleInference of static semantics for incomplete C programs.-
Aparece nas coleções:Repositório Institucional - UFOP

Não existem arquivos associados a este item.