Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mortkever
Copy link

In contribution to the current discussion about functions that always return the same function, I added two tests to check whether getenv, errno_location, gmtime and localtime return pointers that alias according to SVF. According to the documentation, gmtime and localtime may share the same return object. This is the case in glibc, so i added a test for that too. Although my interpretation of may alias might be off.

I do expect these to fail with the latest version.

Please let me know if there are any issues.

@shuangxiangkan
Copy link
Contributor

The two test cases should now pass in the update at SVF-tools/SVF#1693.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants