ShiftLeftSecurity / overflowdb

ShiftLeft OverflowDB
Apache License 2.0
112 stars 21 forks source link

copyTo can change neighbor orders #357

Closed bbrehm closed 1 year ago

bbrehm commented 1 year ago

The copyTo method can change the order of adjacent nodes in the iterators. This ordering is evidently observable from outside, and it is problematic that it is not preserved (and it will be a dream for debugging if this ever causes subtly different executions...).

The fix would be to add an internal API to add half-edges and use that for copyTo.