Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Blocks refactoring #112

Open
wants to merge 2 commits into
base: enhance/52
Choose a base branch
from

Conversation

akhilguruprasad22
Copy link
Contributor

post review refactoring

Copy link
Collaborator

@mike-hunhoff mike-hunhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @akhilguruprasad22 , I've left comments for your review. I'm a little confused as to how the changes you've made here relate to the discussions that we've been having in #52. Please provide additional context.

dncil/cil/body/__init__.py Outdated Show resolved Hide resolved
Comment on lines +239 to +241
else:
assert bb_curr is not None
bb_curr.instructions.append(insn)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide context for this change? What is it addressing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was made in accordance to: mandiant/capa#1326 (comment)

Comment on lines +272 to +274
else:
bb.succs.append(bb_next)
bb_next.preds.append(bb)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide context for this change? What is it addressing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was made in accordance to:
mandiant/capa#1326 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants