{"id":{"repo_id":"alberta","oai_identifier":"oai:ualberta.scholaris.ca:123456789/73587"},"canonical_url":"https://search.ndltd.org/etd/alberta/oai:ualberta.scholaris.ca:123456789/73587","repository":{"repo_id":"alberta","name":"University of Alberta","base_url":"https://era.library.ualberta.ca/oai"},"display":{"title":"SafeType: Detecting Type Violations for Type-Based Alias Analysis of C","abstract":"A type-based alias analysis uses the types of variables in a program to assist in determining the alias relations of those variables. The C standard imposes restrictions on the types of expressions that may access objects in memory, with the explicit intent of specifying when two objects may be aliased. In practice, however, many C programs do not conform to these restrictions, making type-based alias analysis unsound for those programs. As a result, type-based alias analysis is frequently disabled. This thesis presents SafeType, a sound approach for compile-time detection of violations of the C standard’s type-based restrictions on memory access; describes an implementation of SafeType in the IBM XL C compiler, extended with flow- and context-sensitive queries to handle variables with type void *; evaluates that implementation, showing that it scales to programs with hundreds of thousands of lines of code; and identifies a previously unreported violation of the C standard’s type-based restrictions on memory access in the 470.lbm benchmark in SPEC CPU2006.","abstract_html":"A type-based alias analysis uses the types of variables in a program to assist in determining the alias relations of those variables. The C standard imposes restrictions on the types of expressions that may access objects in memory, with the explicit intent of specifying when two objects may be aliased. In practice, however, many C programs do not conform to these restrictions, making type-based alias analysis unsound for those programs. As a result, type-based alias analysis is frequently disabled. This thesis presents SafeType, a sound approach for compile-time detection of violations of the C standard’s type-based restrictions on memory access; describes an implementation of SafeType in the IBM XL C compiler, extended with flow- and context-sensitive queries to handle variables with type void *; evaluates that implementation, showing that it scales to programs with hundreds of thousands of lines of code; and identifies a previously unreported violation of the C standard’s type-based restrictions on memory access in the 470.lbm benchmark in SPEC CPU2006.","abstract_has_math":false,"creators":["Ireland, Iain A."],"institution":"University of Alberta","degree_name":"Master of Science","degree_level":"Master's","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Amaral, Jose Nelson (Computing Science)"],"committee_chairs":[],"committee_members":[],"year":2013,"date_issued":"2013-11","date_published":"2013-11","updated_at":"2026-11-26T21:02:34Z","subjects":["Type-based alias analysis"],"languages":["en"],"rights":["This thesis is made available by the University of Alberta Libraries with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.7939/R3G737C31","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.7939/R3G737C31","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aalberta%3Aoai%3Aualberta.scholaris.ca%3A123456789%2F73587","prefix":"oai_dc"},"source_record":{"url":"https://era.library.ualberta.ca/oai?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aualberta.scholaris.ca%3A123456789%2F73587","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Amaral, Jose Nelson (Computing Science)"]},{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["Bowman, John (Mathematical and Statistical Sciences)","Hoover, James (Computing Science)","Amaral, Jose Nelson (Computing Science)"]},{"key":"dc:creator","label":"Author","values":["Ireland, Iain A."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-05-28T18:55:00Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-05-28T18:55:00Z"]},{"key":"dc:date.issued","label":"Date","values":["2013-11"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master's"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Alberta"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Type-based alias analysis"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["This thesis is made available by the University of Alberta Libraries with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.7939/R3G737C31"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["A type-based alias analysis uses the types of variables in a program to assist in determining the alias relations of those variables. The C standard imposes restrictions on the types of expressions that may access objects in memory, with the explicit intent of specifying when two objects may be aliased. In practice, however, many C programs do not conform to these restrictions, making type-based alias analysis unsound for those programs. As a result, type-based alias analysis is frequently disabled. This thesis presents SafeType, a sound approach for compile-time detection of violations of the C standard’s type-based restrictions on memory access; describes an implementation of SafeType in the IBM XL C compiler, extended with flow- and context-sensitive queries to handle variables with type void *; evaluates that implementation, showing that it scales to programs with hundreds of thousands of lines of code; and identifies a previously unreported violation of the C standard’s type-based restrictions on memory access in the 470.lbm benchmark in SPEC CPU2006."]},{"key":"dc:title","label":"Title","values":["SafeType: Detecting Type Violations for Type-Based Alias Analysis of C"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Amaral, Jose Nelson (Computing Science)"],"dc:contributor.other":["Bowman, John (Mathematical and Statistical Sciences)","Hoover, James (Computing Science)","Amaral, Jose Nelson (Computing Science)"],"dc:creator":["Ireland, Iain A."],"dc:date.accessioned":["2025-05-28T18:55:00Z"],"dc:date.available":["2025-05-28T18:55:00Z"],"dc:date.issued":["2013-11"],"dc:description.abstract":["A type-based alias analysis uses the types of variables in a program to assist in determining the alias relations of those variables. The C standard imposes restrictions on the types of expressions that may access objects in memory, with the explicit intent of specifying when two objects may be aliased. In practice, however, many C programs do not conform to these restrictions, making type-based alias analysis unsound for those programs. As a result, type-based alias analysis is frequently disabled. This thesis presents SafeType, a sound approach for compile-time detection of violations of the C standard’s type-based restrictions on memory access; describes an implementation of SafeType in the IBM XL C compiler, extended with flow- and context-sensitive queries to handle variables with type void *; evaluates that implementation, showing that it scales to programs with hundreds of thousands of lines of code; and identifies a previously unreported violation of the C standard’s type-based restrictions on memory access in the 470.lbm benchmark in SPEC CPU2006."],"dc:identifier.doi":["https://doi.org/10.7939/R3G737C31"],"dc:language.iso":["en"],"dc:rights":["This thesis is made available by the University of Alberta Libraries with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."],"dc:subject":["Type-based alias analysis"],"dc:title":["SafeType: Detecting Type Violations for Type-Based Alias Analysis of C"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["Master's"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["University of Alberta"]},"updated_at":"2026-11-26T21:02:34Z"}