We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7383575 commit ecd15a3Copy full SHA for ecd15a3
engine/src/script/script.cpp
@@ -548,7 +548,7 @@ gaddr_t Script::guest_alloc(gaddr_t bytes)
548
549
gaddr_t Script::guest_alloc_sequential(gaddr_t bytes)
550
{
551
- return machine().arena().seq_alloc_aligned(bytes, 8);
+ return machine().arena().seq_alloc_aligned(bytes, 8, machine().memory.initial_rodata_end() != 0x0);
552
}
553
554
bool Script::guest_free(gaddr_t addr)
engine/src/script/script.hpp
@@ -523,6 +523,7 @@ template <typename T> struct GuestObjects
523
other.m_address = 0x0;
524
other.m_count = 0u;
525
526
+ GuestObjects& operator=(GuestObjects&& other) = delete;
527
528
~GuestObjects()
529
0 commit comments