Master’s Thesis Presentation • Software Engineering • Enabling Language-specific Transformations in Language-agnostic Program ReductionExport this event to calendar

Wednesday, August 16, 2023 — 2:30 PM to 3:30 PM EDT

Please note: This master’s thesis presentation will take place in DC 2564.

Gaosen Zhao, Master’s candidate
David R. Cheriton School of Computer Science

Supervisor: Professor Chengnian Sun

When a program P triggers a bug in a language implementation, program reduction can reduce P by removing program elements that are irrelevant to the bug, to facilitate debugging. Program reduction has been widely used in communities of various language implementations. Generally, program reduction techniques can be classified into language-agnostic program reducers (ARs) and language-specific program reducers (SRs). ARs work generally well in a wide range of languages but usually produce less optimal results than SRs due to lacking domain knowledge of specific languages. However, SRs require extensive engineering effort to leverage the domain knowledge, and can only function in their target language but not in other languages.

To combine the benefits of both ARs and SRs and minimize the gap between the two, a novel, general transformation framework is introduced, Metis, to enable language-specific transformations in language-agnostic program reduction. Specifically, Metis allows users to easily specify language-specific program transformations to further minimize the results by SRs, and the users only need to know the syntax of the target language and a concise domain-specific language named MTL (Metis Transformation Language) provided by Metis; Metis automatically processes the transformation rules inscribed in MTL by performing pattern matching and subsequent rewriting operations on the parse tree of the program under reduction.

We comprehensively evaluated Metis on two benchmark sets of C and SMT-LIBv2 programs, and the results demonstrate that Metis yields much smaller programs than the state-of-the-art language-agnostic program reducer by 35.8% on average. We also compared Metis with two SRs: ddSMT and C-Reduce. Metis produces results of comparable size to ddSMT, but with a noticeable 28.9% shorter reduction time; while falling short of matching the reduced program size by C-Reduce, Metis saves 82.4% of queries and achieves a speed improvement of 30.6% less runtime.

Location 
DC - William G. Davis Computer Research Centre
DC 2564
200 University Avenue West

Waterloo, ON N2L 3G1
Canada
Event tags 

S M T W T F S
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
  1. 2024 (132)
    1. June (1)
    2. May (13)
    3. April (41)
    4. March (27)
    5. February (25)
    6. January (25)
  2. 2023 (296)
    1. December (20)
    2. November (28)
    3. October (15)
    4. September (25)
    5. August (30)
    6. July (30)
    7. June (22)
    8. May (23)
    9. April (32)
    10. March (31)
    11. February (18)
    12. January (22)
  3. 2022 (245)
  4. 2021 (210)
  5. 2020 (217)
  6. 2019 (255)
  7. 2018 (217)
  8. 2017 (36)
  9. 2016 (21)
  10. 2015 (36)
  11. 2014 (33)
  12. 2013 (23)
  13. 2012 (4)
  14. 2011 (1)
  15. 2010 (1)
  16. 2009 (1)
  17. 2008 (1)