adplus-dvertising
frame-decoration

Question

What can virtual machines track to ensure memory safety?

a.

The exact length of each memory block and its usage throughout the application

b.

The type of processor being used

c.

The amount of memory available on the system

d.

The version of the operating system being used

Posted under Reverse Engineering

Answer: (a).The exact length of each memory block and its usage throughout the application Explanation:Virtual machines can track the exact length of each memory block and its usage throughout the application to ensure memory safety. This is because the virtual machine has access to accurate data type information and can verify that type safety is maintained throughout the program. In addition, some virtual machines can track memory accesses to ensure that they are legal, making sure that the program does not attempt to read or write beyond the end of a memory block.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What can virtual machines track to ensure memory safety?