We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nopcrat/src/ai/analysis.rs
Lines 506 to 536 in 97f4dc2
지금은 param value가 null일 때 도달 가능한 프로그램 지점이 null이 아닐 때 도달 가능한 프로그램 지점의 부분집합이면, 해당 param이 output param이 될 수 있음.
x가 output param이 아닌 경우:
if x.is_null() { foo(); }
x가 output param인 경우:
if !x.is_null() { *x = 0; }
그런데 사실 null이 아닐 때만 도달 가능한 프로그램 지점이 있는 것도 문제가 될 수 있음.
지금은 x를 output param으로 판단하지만 사실 그러면 안되는 경우:
if !x.is_null() { foo(); }
따라서 이 문제를 해결해야 함. 한 가지 방법은, 다음 두 개가 같을 때만 output param으로 하는 것:
*x = v;
The text was updated successfully, but these errors were encountered:
presenthee
No branches or pull requests
nopcrat/src/ai/analysis.rs
Lines 506 to 536 in 97f4dc2
지금은 param value가 null일 때 도달 가능한 프로그램 지점이 null이 아닐 때 도달 가능한 프로그램 지점의 부분집합이면, 해당 param이 output param이 될 수 있음.
x가 output param이 아닌 경우:
x가 output param인 경우:
그런데 사실 null이 아닐 때만 도달 가능한 프로그램 지점이 있는 것도 문제가 될 수 있음.
지금은 x를 output param으로 판단하지만 사실 그러면 안되는 경우:
따라서 이 문제를 해결해야 함. 한 가지 방법은, 다음 두 개가 같을 때만 output param으로 하는 것:
*x = v;
를 제외한 것The text was updated successfully, but these errors were encountered: