2013
DOI: 10.1145/2555670.2464162
|View full text |Cite
|
Sign up to set email alerts
|

Analyzing memory ownership patterns in C libraries

Abstract: Programs written in multiple languages are known as polyglot programs. In part due to the proliferation of new and productive high-level programming languages, these programs are becoming more common in environments that must interoperate with existing systems. Polyglot programs must manage resource lifetimes across language boundaries. Resource lifetime management bugs can lead to leaks and crashes, which are more difficult to debug in polyglot programs than monoglot programs.We present analyses to automatica… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2016
2016
2016
2016

Publication Types

Select...
1

Relationship

1
0

Authors

Journals

citations
Cited by 1 publication
(1 citation statement)
references
References 24 publications
0
1
0
Order By: Relevance
“…In the case of fixed-length arrays, we offer some benefit beyond a more intuitive binding: we can produce a more efficient binding by stack-allocating arrays wherever possible. GObject-Introspection supports annotations providing memory ownership information, and these annotations can be inferred using work by Ravitch and Liblit [19] (see Section 3). This gives GObject-Introspection the ability to know when it is safe memory management to stack-allocate arrays.…”
Section: Motivationmentioning
confidence: 99%
“…In the case of fixed-length arrays, we offer some benefit beyond a more intuitive binding: we can produce a more efficient binding by stack-allocating arrays wherever possible. GObject-Introspection supports annotations providing memory ownership information, and these annotations can be inferred using work by Ravitch and Liblit [19] (see Section 3). This gives GObject-Introspection the ability to know when it is safe memory management to stack-allocate arrays.…”
Section: Motivationmentioning
confidence: 99%