Skip to content

Basic Blocks refactoring#112

Open
akhilguruprasad22 wants to merge 2 commits intomandiant:enhance/52from
akhilguruprasad22:enhance/52
Open

Basic Blocks refactoring#112
akhilguruprasad22 wants to merge 2 commits intomandiant:enhance/52from
akhilguruprasad22:enhance/52

Conversation

@akhilguruprasad22
Copy link
Copy Markdown
Contributor

post review refactoring

Copy link
Copy Markdown
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.

Comment on lines +239 to +241
else:
assert bb_curr is not None
bb_curr.instructions.append(insn)
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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)

Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
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