{"id":{"repo_id":"iastate","oai_identifier":"oai:dr.lib.iastate.edu:20.500.12876/28456"},"canonical_url":"https://search.ndltd.org/etd/iastate/oai:dr.lib.iastate.edu:20.500.12876/28456","repository":{"repo_id":"iastate","name":"Iowa State University","base_url":"https://dr.lib.iastate.edu/server/oai/request"},"display":{"title":"Empirical study of inter-procedural data flow (IDF) patterns for memory leak analysis in Linux","abstract":"<p>Analysis of inter-procedural data flow (IDF) is a commonly encountered challenge for verifying safety and security properties of large software. In order to address this challenge, a pragmatic approach is to identify IDF patterns that are known to occur in practice, and develop algorithms to detect and handle those patterns correctly. We perform an empirical study to gather the IDF patterns in Linux, which is essential to support such a pragmatic approach.</p> <p>In our study, we first analyzed the Linux code to study how reference to dynamically allocated memory in a function flows out of the function. We analyzed instances of memory allocation and identified 6 IDF patterns. Second, we mined and analyzed memory leak bug fixes from the Linux git repository. Third, we surveyed the literature for static analysis tools that can detect memory leaks. Based on these studies, we found that the set of IDF patterns associated with the memory leak bug fixes in Linux and those that can be detected by the current static analysis tools is a subset of the 6 IDF patterns we identified.</p>","abstract_html":"&lt;p&gt;Analysis of inter-procedural data flow (IDF) is a commonly encountered challenge for verifying safety and security properties of large software. In order to address this challenge, a pragmatic approach is to identify IDF patterns that are known to occur in practice, and develop algorithms to detect and handle those patterns correctly. We perform an empirical study to gather the IDF patterns in Linux, which is essential to support such a pragmatic approach.&lt;/p&gt; &lt;p&gt;In our study, we first analyzed the Linux code to study how reference to dynamically allocated memory in a function flows out of the function. We analyzed instances of memory allocation and identified 6 IDF patterns. Second, we mined and analyzed memory leak bug fixes from the Linux git repository. Third, we surveyed the literature for static analysis tools that can detect memory leaks. Based on these studies, we found that the set of IDF patterns associated with the memory leak bug fixes in Linux and those that can be detected by the current static analysis tools is a subset of the 6 IDF patterns we identified.&lt;/p&gt;","abstract_has_math":false,"creators":["Singh, Damanjit"],"institution":null,"degree_name":"Master of Science","degree_level":"thesis","degree_discipline":null,"degree_department":"Department of Electrical and Computer Engineering","school":null,"contributors":[],"advisors":["Suraj Kothari"],"committee_chairs":[],"committee_members":[],"year":2014,"date_issued":"2014-01-01","date_published":"2014-01-01","updated_at":"2026-11-19T00:12:31Z","subjects":[],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/28456"],"render_values":[{"text":"https://dr.lib.iastate.edu/handle/20.500.12876/28456","href":"https://dr.lib.iastate.edu/handle/20.500.12876/28456","code":true}]},{"key":"dc:identifier","label":"Identifier","values":["archive/lib.dr.iastate.edu/etd/14270/"],"render_values":[{"text":"archive/lib.dr.iastate.edu/etd/14270/","href":null,"code":true}]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["5277","7842457"],"render_values":[{"text":"5277","href":null,"code":true},{"text":"7842457","href":null,"code":true}]},{"key":"mods:identifier.filename","label":"Mods Identifier Filename","values":["archive/lib.dr.iastate.edu/etd/14270/Singh_iastate_0097M_14572.pdf|||Fri Jan 14 20:17:21 UTC 2022"],"render_values":[{"text":"archive/lib.dr.iastate.edu/etd/14270/Singh_iastate_0097M_14572.pdf|||Fri Jan 14 20:17:21 UTC 2022","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31274/etd-180810-3822","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.31274/etd-180810-3822","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":"embargoed","embargo_until":"2001-01-01","access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aiastate%3Aoai%3Adr.lib.iastate.edu%3A20.500.12876%2F28456","prefix":"oai_dc"},"source_record":{"url":"https://dr.lib.iastate.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.lib.iastate.edu%3A20.500.12876%2F28456","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Suraj Kothari"]},{"key":"dc:contributor.department","label":"Department","values":["Department of Electrical and Computer Engineering"]},{"key":"dc:creator","label":"Author","values":["Singh, Damanjit"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2018-08-11T15:49:23.000"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2020-06-30T02:55:33Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2020-06-30T02:55:33Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["Wed Jan 01 00:00:00 UTC 2014"]},{"key":"dc:date.embargo","label":"Dc Date Embargo","values":["2001-01-01"]},{"key":"dc:date.issued","label":"Date","values":["2014-01-01"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["a75a044c-d11e-44cd-af4f-dab1d83339ff"]},{"key":"dc:type","label":"Dc Type","values":["thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.discipline","label":"Dc Subject Discipline","values":["Computer Engineering"]},{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Computer Engineering","Empirical Study","Inter-procedural Data Flow","Linux","Memory Leak"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["archive/lib.dr.iastate.edu/etd/14270/"]},{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.31274/etd-180810-3822"]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["5277","7842457"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/28456"]},{"key":"mods:identifier.filename","label":"Mods Identifier Filename","values":["archive/lib.dr.iastate.edu/etd/14270/Singh_iastate_0097M_14572.pdf|||Fri Jan 14 20:17:21 UTC 2022"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["<p>Analysis of inter-procedural data flow (IDF) is a commonly encountered challenge for verifying safety and security properties of large software. In order to address this challenge, a pragmatic approach is to identify IDF patterns that are known to occur in practice, and develop algorithms to detect and handle those patterns correctly. We perform an empirical study to gather the IDF patterns in Linux, which is essential to support such a pragmatic approach.</p> <p>In our study, we first analyzed the Linux code to study how reference to dynamically allocated memory in a function flows out of the function. We analyzed instances of memory allocation and identified 6 IDF patterns. Second, we mined and analyzed memory leak bug fixes from the Linux git repository. Third, we surveyed the literature for static analysis tools that can detect memory leaks. Based on these studies, we found that the set of IDF patterns associated with the memory leak bug fixes in Linux and those that can be detected by the current static analysis tools is a subset of the 6 IDF patterns we identified.</p>"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Empirical study of inter-procedural data flow (IDF) patterns for memory leak analysis in Linux"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:admin","label":"Local Admin","values":["isulib-bepress-aws-west","etd/14270"]}]}],"canonical_facts":{"dc:contributor.advisor":["Suraj Kothari"],"dc:contributor.department":["Department of Electrical and Computer Engineering"],"dc:creator":["Singh, Damanjit"],"dc:date":["2018-08-11T15:49:23.000"],"dc:date.accessioned":["2020-06-30T02:55:33Z"],"dc:date.available":["2020-06-30T02:55:33Z"],"dc:date.copyright":["Wed Jan 01 00:00:00 UTC 2014"],"dc:date.embargo":["2001-01-01"],"dc:date.issued":["2014-01-01"],"dc:description.abstract":["<p>Analysis of inter-procedural data flow (IDF) is a commonly encountered challenge for verifying safety and security properties of large software. In order to address this challenge, a pragmatic approach is to identify IDF patterns that are known to occur in practice, and develop algorithms to detect and handle those patterns correctly. We perform an empirical study to gather the IDF patterns in Linux, which is essential to support such a pragmatic approach.</p> <p>In our study, we first analyzed the Linux code to study how reference to dynamically allocated memory in a function flows out of the function. We analyzed instances of memory allocation and identified 6 IDF patterns. Second, we mined and analyzed memory leak bug fixes from the Linux git repository. Third, we surveyed the literature for static analysis tools that can detect memory leaks. Based on these studies, we found that the set of IDF patterns associated with the memory leak bug fixes in Linux and those that can be detected by the current static analysis tools is a subset of the 6 IDF patterns we identified.</p>"],"dc:format.mimetype":["application/pdf"],"dc:identifier":["archive/lib.dr.iastate.edu/etd/14270/"],"dc:identifier.doi":["https://doi.org/10.31274/etd-180810-3822"],"dc:identifier.other":["5277","7842457"],"dc:identifier.uri":["https://dr.lib.iastate.edu/handle/20.500.12876/28456"],"dc:language.iso":["en"],"dc:relation.orgunit":["a75a044c-d11e-44cd-af4f-dab1d83339ff"],"dc:subject.discipline":["Computer Engineering"],"dc:subject.keyword":["Computer Engineering","Empirical Study","Inter-procedural Data Flow","Linux","Memory Leak"],"dc:title":["Empirical study of inter-procedural data flow (IDF) patterns for memory leak analysis in Linux"],"dc:type":["thesis"],"dspace:entity.type":["Publication"],"local:admin":["isulib-bepress-aws-west","etd/14270"],"mods:identifier.filename":["archive/lib.dr.iastate.edu/etd/14270/Singh_iastate_0097M_14572.pdf|||Fri Jan 14 20:17:21 UTC 2022"],"thesis:degree_level":["thesis"],"thesis:degree_name":["Master of Science"]},"updated_at":"2026-11-19T00:12:31Z"}