adplus-dvertising
frame-decoration

Question

How does the CLR validate operations performed by the IL code in managed code?

a.

By using the information from the metadata about class definitions, methods, and parameters they receive, and the types of every local variable in each method

b.

By loading a pointer into memory and calculating the specific offset that needs to be accessed

c.

By executing the code directly in the .NET Framework

d.

By using the class hierarchy to validate the code

Posted under Reverse Engineering

Answer: (a).By using the information from the metadata about class definitions, methods, and parameters they receive, and the types of every local variable in each method Explanation:The CLR validates operations performed by the IL code by using the information from the metadata about class definitions, methods, and parameters they receive, and the types of every local variable in each method.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How does the CLR validate operations performed by the IL code in managed code?