adplus-dvertising
frame-decoration

Question

What is the unique thing about table-based n-way conditionals?

a.

They use an immediate, hard-coded address

b.

They use a dynamically calculated memory address

c.

They use a tree structure

d.

They use a function call

Posted under Reverse Engineering

Answer: (b).They use a dynamically calculated memory address Explanation:The unique thing about table-based n-way conditionals is that instead of using an immediate, hard-coded address like pretty much every other unconditional jump you'll run into, this type of JMP uses a dynamically calculated memory address (usually bracketed in the disassembly) to obtain the target address (this is essentially the table lookup operation).

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the unique thing about table-based n-way conditionals?

Similar Questions

Discover Related MCQs

Q. What is a binary tree search strategy used for in computer science?

Q. How are searchable items divided in a binary tree search strategy?

Q. What is the process for reaching individual items in a binary tree search strategy?

Q. How does the binary search implementation differ from the table implementation for switch blocks?

Q. What does the compiler do when the provided value is not found in a binary search implementation for switch blocks?

Q. What is a common quality of tree-based n-way conditionals that makes them easier to identify in disassembled code?

Q. How does a binary tree search work?

Q. How does the compiler determine which case block to jump into when using a tree-based n-way conditional?

Q. What is the difference between pretested and posttested loops?

Q. What are pretested loops?

Q. Why are pretested loops less efficient than posttested ones?

Q. What is the potential risk of using a pretested loop with an out-of-bounds counter value?

Q. How does the compiler handle a pretested loop when the counter value comes from an external source?

Q. What is the purpose of the unconditional jump at the end of a pretested loop?

Q. What is the potential risk with the implementation of a pretested loop?

Q. What happens if the counter comes from an unknown source in a pretested loop?

Q. How does the compiler generate assembly code for do...while() loops?

Q. What is a loop break condition?

Q. How is a loop break condition implemented in C and C++?

Q. What is the purpose of the break statement?