Replies: 9 comments
-
Hi, In your example, the ability to recognize So, it is not okay for your analyzer to capture Regards, |
Beta Was this translation helpful? Give feedback.
-
Oh I was misunderstanding the concepts. Thank you! |
Beta Was this translation helpful? Give feedback.
-
I think that the Since the analysis is context insensitive and Or we can view it as following:
(By the way, this memory layout where the domain of memory is a pair of a location and an instance is borrowed from the lecture slide, not the specification document of the homework where the notation of instances is omitted. I think this is kinda related to this issue.) Then, the sound abstraction of |
Beta Was this translation helpful? Give feedback.
-
Sorry for wrong answer, we mislook the example code. (we miss the recursive function call of
Thanks for correcting our mistake, @f52985 . Regards, |
Beta Was this translation helpful? Give feedback.
-
@f52985 Thank you for your opinion! However, I am trouble appling weak update in filtering. |
Beta Was this translation helpful? Give feedback.
-
I don't get @f52985 's comment saying
I think filtering can be(and should be) strong update Oh, I was wrong. weak update would be more appropriate |
Beta Was this translation helpful? Give feedback.
-
Interesting discussion. Go ahead. Let me put only one thing here. We don't have to unnecessarily make our analyzer imprecise. We always have to make our analyzer as precise as possible (while still preserving soundness). |
Beta Was this translation helpful? Give feedback.
-
@healwon |
Beta Was this translation helpful? Give feedback.
-
Thanks for all comments and discussions. I'll close this issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I'm working with hw5, and I am confused about context-insensitive analysis.
Our analyzer is context-insensitive, so we should design more precise update strategy (as a quiz), as I understand.
Since it is context-insensitive, I think it is hard to be as precise as a context-sensitive one even with the "more precise update strategy". So, I want to know how precise it should be.
For example,
div 1
is actually safe, but my design may capturediv 1
as potential division-by-zero. Is it okay?Always thanks for the great lecture!
Beta Was this translation helpful? Give feedback.
All reactions