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

Enable shadow-stack #376

Merged
merged 4 commits into from
May 21, 2021
Merged

Enable shadow-stack #376

merged 4 commits into from
May 21, 2021

Conversation

eddynaka
Copy link
Contributor

@eddynaka eddynaka commented May 14, 2021

Fixes #277

Updating shadowstack logic

Removing debugging files

Improving message strings

Updating tests
@eddynaka eddynaka force-pushed the users/ednakamu/shadow-stack branch from 4c801a5 to 11181e0 Compare May 14, 2021 12:58
AnalysisApplicability result = AnalysisApplicability.NotApplicableToSpecifiedTarget;

reasonForNotAnalyzing = MetadataConditions.ImageIsILOnlyAssembly;
if (portableExecutable.IsILOnly) { return result; }
Copy link
Collaborator

@shaopeng-gh shaopeng-gh May 21, 2021

Choose a reason for hiding this comment

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

other way is to move the assign statement inside the
if() {assign statement;return result; }
since it is only needed when if is true

#Resolved

Copy link
Contributor Author

Choose a reason for hiding this comment

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

pls, do the proper changes :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

got it, updated.

@eddynaka eddynaka marked this pull request as ready for review May 21, 2021 22:46
@eddynaka eddynaka requested a review from michaelcfanning as a code owner May 21, 2021 22:46
@eddynaka eddynaka merged commit 6e6f263 into main May 21, 2021
@eddynaka eddynaka deleted the users/ednakamu/shadow-stack branch May 21, 2021 22:47
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.

[RULE REQUEST] Enforce CET shadow stack compatibility
2 participants