dc.rights.license | CC-BY-NC-ND | |
dc.contributor.advisor | Hage, Jurriaan | |
dc.contributor.author | Liu, Xulei | |
dc.date.accessioned | 2022-11-01T01:01:33Z | |
dc.date.available | 2022-11-01T01:01:33Z | |
dc.date.issued | 2022 | |
dc.identifier.uri | https://studenttheses.uu.nl/handle/20.500.12932/43129 | |
dc.description.abstract | Python is an interpreted, interactive and object-oriented programming language that stresses code readability. In Python, objects interact with each other to accomplish various tasks. Such interaction is usually achieved by attribute lookup, storage and deletion.
We consider whether Python's attribute access semantics with different precision affect the precision of type analysis. Type inference for Python is hard due to the extensive use of external libraries and the dynamic language features. In this thesis we propose an object-sensitive type analysis for Python based on an extension of the notion of monotone frameworks to deal with dynamic flow manipulation. In addition, we also implement a type parser to partially support retrieving types from Python stub files. Our results show that the analysis precision is not improved substantially when employing sophisticated attribute access semantics. | |
dc.description.sponsorship | Utrecht University | |
dc.language.iso | EN | |
dc.subject | The thesis is about type analysis for Python based on Object sensitivity. We are interested in how attribute access operations affect the analysis precision. The results show that the analysis precision is not improved substantially by employing path-sensitive attribute access semantics and we discuss possible answers to the results. | |
dc.title | Object-sensitive Type Analysis for Python | |
dc.type.content | Master Thesis | |
dc.rights.accessrights | Open Access | |
dc.subject.keywords | type analysis; data flow analysis; dynamic monotone framework; static analysis; Python; control flow graph; object sensitivity | |
dc.subject.courseuu | Computing Science | |
dc.thesis.id | 11317 | |