✨ An option to disable ASLR #360
Labels
c++
Anything related to C++ code
DD
Anything related to the DD package
feature
New feature or request
good first issue
Good for newcomers
What's the problem this feature will solve?
The DD package as it is currently implemented relies on the memory addresses of nodes for hashing (pointer-based DD package). Modern compilers and operating systems implement Address Space Layout Randomization (ASLR) as a security measure to randomize the location of code.
This, however, leads to non-deterministic behavior of the decision diagram package because different invocations of the same computation are allocated in different memory regions and hence hash values might differ.
Describe the solution you'd like
It would be convenient, especially for debugging, to have an option for disabling ASLR and, thus, enabling reproducible builds.
AFAIK, the way to achieve this is platform-specific, but there should be enough about this out there.
Ideally, it gets integrated into the
cmake/
folder as an additional standalone script.The text was updated successfully, but these errors were encountered: