Publications

Detailed Information

정적 분석 정확도 향상을 위한 코드 변환 규칙 : Code Transformation Rules to Improve Static Analysis Accuracy

DC Field Value Language
dc.contributor.advisor이광근-
dc.contributor.author김세훈-
dc.date.accessioned2022-12-29T07:46:07Z-
dc.date.available2022-12-29T07:46:07Z-
dc.date.issued2022-
dc.identifier.other000000172436-
dc.identifier.urihttps://hdl.handle.net/10371/187796-
dc.identifier.urihttps://dcollection.snu.ac.kr/common/orgView/000000172436ko_KR
dc.description학위논문(석사) -- 서울대학교대학원 : 공과대학 컴퓨터공학부, 2022. 8. 이광근.-
dc.description.abstract분석 기술의 변화 없이 소스코드를 변환하여 정적 분석 정확도를 향상시키는 방법을 소개하고 실험을 통해 효용성을 확인한다. C프로그램의 범위를 벗어난 메모리 접근(buffer overrun) 오류를 탐지하는 정적 분석기를 대상으로 코드를 변환하여 분석 정확도를 향상시는 코드 변환 규칙을 찾아내었다. 각 코드 변환 규칙은 실행 의미를 보존하면서 별도의 값 비싼 분석 없이 코드의 모양(syntax)만을 확인하여 자동으로 변환될 수 있는 규칙이다. 반복문의 조건식과 반복문 안의 메모리 접근식을 변환하는 규칙으로 자동 변환기를 구현하여 실험한 결과, 정확도는 평균 0.51%, 분석 시간은 평균 0.7% 증가하였다. 변환 과정이 별도의 분석 없이 코드의 모양만을 확인하기 때문에 허위 경보를 저렴한 비용으로 제거하였지만, 제거에 성공한 허위 경보의 절대적인 양은 많지 않았다.-
dc.description.abstractThis paper introduces code transformation rules which improves static analysis accuracy without change of analysis technique, and checks effectiveness by experiments. To improve accuracy of static analyzer which detects buffer overrun of C programs, this paper proposes code transformation rules. Each of them describes a rule which can automatically transform by checking syntax without any costly analysis, while conserving semantics. With transformation rules which transform loop conditions and memory access expressions in loop body, the analysis accuracy was improved by 0.51% while analysis time was increased by 0.7%. Even a few false alarms were able to be removed with inexpensive costs, the absolute amount of removed false alrams was not significant.-
dc.description.tableofcontents제 1 장 서론 1
제 2 장 배경 지식 4
2.1 대상 분석기 4
2.1.1 대상 언어 4
2.1.2 요약 도메인 및 실행 의미 5
2.2 분석기 특성 6
2.2.1 정확도를 잃는 경우 1: 분기문 7
2.2.2 정확도를 잃는 경우 2: 함수 호출 8
2.2.3 정확도를 잃는 경우 3: 반복문 8
제 3 장 변환 규칙 10
3.1 변환 규칙 표기법 10
3.2 반복문의 조건식 변환 11
3.2.1 대소 비교가 아닌 조건식 12
3.2.2 실제 범위보다 넓은 조건식 14
3.3 반복문 안의 메모리 접근식 변환 16
제 4 장 실험 결과 19
제 5 장 논의 및 결론 25
5.1 코드 변환을 이용한 분석 정확도 향상의 한계 25
5.1.1 융통성 없는 변환 규칙 25
5.1.2 코드 변환이 정확도를 향상시키지 못하는 경우 26
5.2 가능한 다른 코드 변환 26
5.2.1 분기문 변환 27
5.2.2 함수 호출문 변환 27
5.3 관련 연구 28
5.4 결론 29
참고문헌 30
Abstract 32
-
dc.format.extentv, 32-
dc.language.isokor-
dc.publisher서울대학교 대학원-
dc.subject프로그램분석-
dc.subject정적분석-
dc.subject코드변환-
dc.subject.ddc621.39-
dc.title정적 분석 정확도 향상을 위한 코드 변환 규칙-
dc.title.alternativeCode Transformation Rules to Improve Static Analysis Accuracy-
dc.typeThesis-
dc.typeDissertation-
dc.contributor.AlternativeAuthorSehoon Kim-
dc.contributor.department공과대학 컴퓨터공학부-
dc.description.degree석사-
dc.date.awarded2022-08-
dc.contributor.major프로그래밍 언어-
dc.identifier.uciI804:11032-000000172436-
dc.identifier.holdings000000000048▲000000000055▲000000172436▲-
Appears in Collections:
Files in This Item:

Altmetrics

Item View & Download Count

  • mendeley

Items in S-Space are protected by copyright, with all rights reserved, unless otherwise indicated.

Share