History

DisVM will now only use 0 initialized memory. - The alloc_memory function will only return 0 initialize memory - calloc_memory was removed

Floating point division is now relying on underlying FPU and IEEE for behavior with respect to divide by 0

arr committed 9 years ago

Commit b92328e1 parent bd1f49311 files · +48 −112Browse files

Showing the changes to src/include/debug.h (1 of 11 files). Show all

Unified · Split

src/include/debug.h+1−1
@@ -91,7 +91,7 @@ namespace disvm · 90 unmodified lines
9191 {
9292 #ifndef NDEBUG
9393 assert(t != nullptr);
94− *t = reinterpret_cast<T *>(0xbada110c);
94+ assign_debug_memory(t, sizeof(t));
9595 #endif
9696 }
9797 }