Question

Briefly (~1 page) discuss the strengths and weaknesses of the recursive descent and linear sweep algorithms....

Briefly (~1 page) discuss the strengths and weaknesses of the recursive descent and linear sweep algorithms. What makes IDA a powerful disassembler?

Homework Answers

Answer #1

Recursive Descent:
------------------------------

--->A first Pascal compiler used a recursive descent parser.

--->A recursive descent parser is a kind of Top-Down parser built from a set of mutually recursive procedures implements one of the non terminals of the grammer.

--->recursive descent is a parsing technique which does not allow backup.And it Involves backtracking and left recursion.

--->backtracking is used to find the correct production to be applied.

--->But, A predictive parser is a recursive descent parser that doesn't require backtracking.

--->This algorithm starts at the program main entry point and proceeds by following each branch instruction encountered in a depth-first or breadth-first manner, essentially a control flow analysis.


Advantages :
------------------

1.Recursive descent parser have the benefit of being very simple.

2.Overhead associated with backtracking is eliminated.
3.only disassembles bytes that the CPU encounters, and not extraneous bytes

Dis-Advantages:
------------------------
1. Error recovery is difficult in recursive descent parser.
2. Recursive descent parser will not handle as large a det of grammers as other parsing methods.
3. When we get the syntax error, in order for the compiler to recover. it usually has to discard the last few takens, move to the end line, and resume.
4. When a grammar with left recursive production is given, then the parser might get into infinite loop.Hence, left recursion must be eliminated.

5.relatively complex, does not always disassemble the whole executable if there is code which is not called explicitly based on its address.

Linear Sweep algorithm:
----------------------------------
--->Linear sweep algorithm is A basic algorithm taking all the section marked as code and disassembling it by reading the instructions one after each other.

--->In Linear Sweep algorithm, we start at the beginning of a section, and keep track of the length of each instruction we disassemble.

---> A linear sweep algorithm starts with the first byte in the code section and proceeds by decoding each byte, including any intermediate data byte, as code, until an illegal instruction is encountered.

Advantages:
------------------

1. main advantage is simplicity.
2. all the bytes in the section is guaranteed to be decoded


Dis-Advantages:
-----------------------

1.ALL the bytes in the section is guaranteed to be decoded including non-executable data

2.any data that is embedded in the instruction stream is misinterpreted as code and disassembled.

What makes IDA a powerful disassembler?

--->Interactive Disassembler is a disassembler for computer software which is used to generate assembly language code.

--->IDA perform automatic code analysis, using cross-reference between code sections, knowledge of parameters of API calls, and other information.

--->IDA is a is a professional disassembler which is expensive and it is extremely powerful, and has a whole slew of features.

--->Basically IDA can be used as a debugger for Windows PE, Mac OS X Mach-O ,e.t.c.,

--->IDA performs automatic code analysis.

--->Why IDA is Powerful?

1. IDA Pro is A disassembler.
2. IDA pro is a debugger.
3. IDA pro is a interactive.
4. IDA pro is a programmable.
5. IDA pro helps protect you essential rights.


USES:
----------

1. For Analyzing Hostile Code

2. We can do the research on Vulnerability.

3. Validating the COTS.

4. IDA Pro will automatically recognize the file format of the executable.

5. Recognition

6. Privacy protection


Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Briefly discuss the strengths and weaknesses of social insurance as a form of risk spreading.
Briefly discuss the strengths and weaknesses of social insurance as a form of risk spreading.
1.Discuss the most common indicators of educational performance and their strengths and weaknesses. 2.What is the...
1.Discuss the most common indicators of educational performance and their strengths and weaknesses. 2.What is the demographic transition? Describe its main stages.
Question 1 ) Briefly define binary variables and discuss the purpose of their usage in mathematical...
Question 1 ) Briefly define binary variables and discuss the purpose of their usage in mathematical models. Question 2 ) Discuss the importance of mathematical modeling in business problems and point out the limitations of linear programming in modeling actual business
1. Match the following Machine Learning algorithms to their descriptions: 1. Linear Regression                          &nbsp
1. Match the following Machine Learning algorithms to their descriptions: 1. Linear Regression                                      A. A system of assigning values by sorting data through a series of questions which can be represented in a flow     chart. 2.  Linear Discriminant Analysis B. A classifier which uses data points of known class to vote on which class a new point would belong in. 3. Decision Tree                                                   C. An algorithm that calculates a line to represent a set of data which is more or less...
Briefly answer: 1. Give three key weaknesses in the international economy as of 1928. Explain how...
Briefly answer: 1. Give three key weaknesses in the international economy as of 1928. Explain how these weaknesses contributed to the international transmission of the global economy? Organize your thoughts around the US, Germany, France and Great Britain. 2. What was the trajectory of international “integration” between 1925 and 1929? Contrast the capital flows of the 1920s with those of the 1870- 1913 period. 3. While on the gold standard what is the monetary policy response to higher US interest...
1.  What stressors in your life would you like to deal with more effectively - briefly discuss...
1.  What stressors in your life would you like to deal with more effectively - briefly discuss them? 2. How do you typically deal with stress (include all ways that you can think )? 3. What positive characteristics or strengths do you have that will help you deal with stress better (explain how it will help)? 4. What are some of the traits you have that might obstruct your ability to handle stress effectively (explain how/why)? 5. Choose at least two...
1) What type of arthropods are considered true parasites? 2) Briefly discuss an example of a...
1) What type of arthropods are considered true parasites? 2) Briefly discuss an example of a parasitic arthropod and the type of infection it causes. 3) What is the difference between arthropods that are biological vectors from those that are considered parasites? Respond with specific examples.
For this assignment you will write a two-page Occupational Interest Self- Assessment in which you discuss...
For this assignment you will write a two-page Occupational Interest Self- Assessment in which you discuss how your occupational interests and personality type, as determined by scores obtained on the Holland Code Career Assessment and the TypeCoach Verifier, match up with the career you have in mind as you are pursuing your academic studies at South University. Please think about your occupational interests, personality characteristics, and skills. To what extent are these similar/dissimilar to the qualities descriptive of you on...
1. Discuss how calcium requirements change throughout the different stages in life, briefly summarizing calcium requirements...
1. Discuss how calcium requirements change throughout the different stages in life, briefly summarizing calcium requirements throughout the various stages and genders. 2. What is peak bone mass and at what age is this usually achieved? 3. How does peak bone mass influence the risk of osteoporosis later in life?
1.Discuss three different general types of epidemiological research. 2. Briefly describe the differences between each of...
1.Discuss three different general types of epidemiological research. 2. Briefly describe the differences between each of them and what are some benefits and challenges of the different types. 3. Compare and contrast a between-group experimental study and within a group experimental study. Give examples that are applicable to epidemiological research.