Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7919171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:46:30+00:00 2026-06-03T15:46:30+00:00

Came across this question: explain the role of dominators in reverse engineering Java code.

  • 0

Came across this question: explain the role of dominators in reverse engineering Java code.

All I can think of is that you need to be able to calculate the Dominators in a Control Graph to see if it is reducable:

  1. Work out dominators
  2. Identify and remove back edges
  3. Check if the remaining graph is acyclic

If the graph is acylic – it is reducible. Therefore all the loops are natural loops.
If its not reducible, then the code is unstructored or optimised.

Does this sound correct to you?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T15:46:32+00:00Added an answer on June 3, 2026 at 3:46 pm

    There’s all kinds of reasons that dominators are interesting in program analysis, whether you are doing reverse engineering as a special case or not.

    The key notion is that if X dominates Y, when Y gets executed, X has been already executed. So if you want to understand what Y is doing, and Y depends on the context in which it is executed, you’re probably going to need to understand X.

    There are other things you need to understand, too, such as dataflows into Y, program inputs, etc. Just this is a useful place to start.

    There are lots of analysis algorithms that use dominators, each answer specific kinds of questions. Its hard to argue any of these are “the (key) role” dominators play.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I came across this question: https://softwareengineering.stackexchange.com/questions/87077/how-can-a-code-editor-effectively-hint-at-code-nesting-level-without-using-inde and thought that Vim might be able to
I came across this question about callbacks in Java. Hers is the running code
I came across this question: say given two weights 1 and 3, u can
Today I came across this question: you have a code static int counter =
I am preparing for my interview and came across this question: Consider that i
I was going through some random java code and came across this peice of
When reviewing code I came across something odd, someone had read that you can
I came across this question asking how to execute code before main() in C,
In answering this question , I came across a situation that I don't understand.
I am studying for an exam and came across this question that seems a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.