adplus-dvertising
frame-decoration

Question

What is the difference between recursive traversal and linear sweep in disassemblers?

a.

Recursive traversal goes instruction by instruction, while linear sweep follows the flow of the code

b.

Recursive traversal follows the flow of the code, while linear sweep goes instruction by instruction

c.

Recursive traversal is used for data, while linear sweep is used for code

d.

Recursive traversal is a conventional method, while linear sweep is an advanced method

Posted under Reverse Engineering

Answer: (b).Recursive traversal follows the flow of the code, while linear sweep goes instruction by instruction Explanation:Recursive traversal is a method used by disassemblers to properly distinguish code from data, in which the disassembler follows the flow of the code and only disassembles addresses that are reachable from the code disassembled earlier. Linear sweep, on the other hand, goes instruction by instruction and can potentially confuse the disassembler if there is data in the middle of the code.

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 difference between recursive traversal and linear sweep in disassemblers?