adplus-dvertising
frame-decoration

Question

What happens when an application calls an operating system API?

a.

The user-mode API performs basic parameter validation checks and calls into the kernel to actually perform the requested operation.

b.

The kernel-mode API performs basic parameter validation checks and calls into the user-mode to actually perform the requested operation.

c.

The user-mode API directly calls a kernel function.

d.

The kernel-mode API directly calls a user-mode function.

Posted under Reverse Engineering

Answer: (a).The user-mode API performs basic parameter validation checks and calls into the kernel to actually perform the requested operation. Explanation:When an application calls an operating system API, the user-mode API usually performs basic parameter validation checks and calls into the kernel to actually perform the requested operation.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What happens when an application calls an operating system API?

Similar Questions

Discover Related MCQs

Q. What is the mechanism used by operating systems for switching from user mode to kernel mode?

Q. Why is it important for reversers to have a basic understanding of executable formats?

Q. What is the executable format used in Windows?

Q. Where can you find a full listing of the individual fields of the Portable Executable (PE) format?

Q. Why is understanding executable formats important for hackers?

Q. What is the most important thing to bear in mind when dealing with executable files?

Q. Can an executable file be relocated after it has been loaded?

Q. Why do executables need to be relocatable?

Q. Does every program have additional executables loaded into its address space?

Q. What does the operating system load into each program's address space?

Q. Why is it likely that two or more modules will try to use the same memory address?

Q. What is the solution to the problem of multiple modules trying to use the same memory address?

Q. Why does an executable need to know in advance where it will be loaded?

Q. What does it mean for an executable file to be relocatable?

Q. Why does an executable file need to know in advance where it will be loaded?

Q. What is a relative virtual address (RVA)?

Q. Why are relocations important for executable files?

Q. What is a section in an executable image?

Q. What is the purpose of having different sections in an executable image?

Q. What is a code section in an executable image?