Item type |
Trans(1) |
公開日 |
2017-01-06 |
タイトル |
|
|
タイトル |
配列を入力引数とする関数の検証のための分離論理の拡張 |
タイトル |
|
|
言語 |
en |
|
タイトル |
Extension of Separation Logic toward Verification of Functions Passed Arrays as Arguments |
言語 |
|
|
言語 |
jpn |
キーワード |
|
|
主題Scheme |
Other |
|
主題 |
[発表概要] |
資源タイプ |
|
|
資源タイプ識別子 |
http://purl.org/coar/resource_type/c_6501 |
|
資源タイプ |
journal article |
著者所属 |
|
|
|
名古屋大学大学院情報科学研究科 |
著者所属 |
|
|
|
名古屋大学大学院情報科学研究科 |
著者所属 |
|
|
|
名古屋大学大学院情報科学研究科 |
著者所属(英) |
|
|
|
en |
|
|
Graduate School of Information Science, Nagoya University |
著者所属(英) |
|
|
|
en |
|
|
Graduate School of Information Science, Nagoya University |
著者所属(英) |
|
|
|
en |
|
|
Graduate School of Information Science, Nagoya University |
著者名 |
水谷, 慎之介
西田, 直樹
酒井, 正彦
|
著者名(英) |
Shinnosuke, Mizutani
Naoki, Nishida
Masahiko, Sakai
|
論文抄録 |
|
|
内容記述タイプ |
Other |
|
内容記述 |
C言語などにおいて配列を入力引数とする関数は入力配列の先頭のアドレスのみを受け取ることで間接的に配列を受け取る.そのため,そのような関数は様々なサイズの配列を受け取る可能性がある.そのような関数を検証するにあたって入力配列のサイズを任意ととらえ,事前条件においても任意のサイズのヒープに関する性質の記述が必要である.分離論理では線形リストを表現する再帰定義された述語を応用すればそのようなヒープを表現することは可能だが,連続するヒープをわざわざそのような述語を用いて検証するのは冗長である.本発表では,整数式でサイズを表したヒープ表現を導入することで分離論理を拡張し,その拡張に応じて分離論理の推論規則も拡張する. |
論文抄録(英) |
|
|
内容記述タイプ |
Other |
|
内容記述 |
As in the C programming language, a function passed an array as one of its arguments receives only a pointer to the first element of the array, and acts as if the entire array is recieved. For this reason, we cannot expect the fixed size of arrays that the function receives. To verify the function, considering the array size unknown, we must write assertions for e.g., pre-/post- conditions that specify properties on arrays (i.e., heaps) with the arbitrary size. In the framework of separation logic, we can specify such heaps by using a recursively-defined predicate indicating that a given pointer refers to the first element of a linear list. Though, such a predicate would be overspecified for representing heaps for arrays where each element is located at the next cell of the previous element. In this presentation, we extend separation logic by introducing a notation for heaps, the size of which can be specified by non-ground expressions over the integers. We also extend inference rules of separation logic for the extension of the syntax. |
書誌レコードID |
|
|
収録物識別子タイプ |
NCID |
|
収録物識別子 |
AA11464814 |
書誌情報 |
情報処理学会論文誌プログラミング(PRO)
巻 10,
号 1,
p. 29-29,
発行日 2017-01-06
|
ISSN |
|
|
収録物識別子タイプ |
ISSN |
|
収録物識別子 |
1882-7802 |
出版者 |
|
|
言語 |
ja |
|
出版者 |
情報処理学会 |