Analysis to estimate uncaught exceptions and exception flows for java자바에 대한 처리되지 않는 예외와 예외의 흐름을 예측하는 분석

Cited 0 time in webofscience Cited 0 time in scopus
  • Hit : 510
  • Download : 0
Exception mechanism aims to support the development of robust programs with reliable error detection, and fast error handling. This mechanism provides a way for programmers to separate code that deals with unusual situation from code that supports normal processing. Because uncaught exceptions will abort the program`s execution, it is important to make sure at compile-time that the program will have no uncaught exceptions at run-time. Moreover, the information about exception propagation path can help programmers to make better use of exception mechanism. But local reasoning about the code is not sufficient to get such an information, because exceptions flow across methods and the information about uncaught exception (which exceptions are raised from a code block) is also required. So, the static analysis for the information about exception propagation path is necessary. The current JDK Java compiler does an intraprocedural exception analysis by relying on the declared exceptions of methods, to check that the program will have no uncaught exceptions at run-time. The current compiler is not elaborate enough to do "better" than as declared by the programmers. In this thesis, we propose an uncaught exception analysis of Java programs that estimates uncaught exceptions independently of the declared exceptions, and exception propagation analysis that estimates propagation paths of thrown exceptions. Our exception analyses are designed based on set-based framework. In case of the uncaught exception analysis, we aim to develop an effective and accurate analysis. First, we design an expression-level analysis that analyzes uncaught exceptions at every expression of input programs. For enhancing cost-effectiveness of analysis, we design sparse analysis that analyzes uncaught exceptions at a larger granularity than at every expression. We prove the soundness and equivalence of accuracy between the two analyses. We implement our exception analysis and JDK-style except...
Advisors
Choe, Kwang-Mooresearcher최광무researcher
Description
한국과학기술원 : 전산학전공,
Publisher
한국과학기술원
Issue Date
2003
Identifier
181180/325007 / 000945416
Language
eng
Description

학위논문(박사) - 한국과학기술원 : 전산학전공, 2003.2, [ vii, 89 p. ]

Keywords

Exception flow; Uncaught exception; Static analysis; 정적 분석; 예외 흐름; 처리되지 않는 예외

URI
http://hdl.handle.net/10203/32833
Link
http://library.kaist.ac.kr/search/detail/view.do?bibCtrlNo=181180&flag=dissertation
Appears in Collection
CS-Theses_Ph.D.(박사논문)
Files in This Item
There are no files associated with this item.

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0