Skip to content

Conversation

@b-sumner
Copy link

@b-sumner b-sumner commented Nov 4, 2025

No description provided.

@z1-cciauto
Copy link
Collaborator

@b-sumner b-sumner requested review from ampandey-AMD and skc7 November 4, 2025 22:52
@b-sumner
Copy link
Author

b-sumner commented Nov 7, 2025

Gentle ping.

if (size == 0)
return;

uptr beg_addr = (uptr)addr;

Choose a reason for hiding this comment

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

Can the value of input addr be 0x0?

Copy link

@ampandey-AMD ampandey-AMD Nov 8, 2025

Choose a reason for hiding this comment

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

Is a check guard required here foraddr, or the value would always be non-null as it is not an external api where a user could call this function for negative testing?

Copy link
Author

Choose a reason for hiding this comment

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

A check is not required. No attempt is made to dereference addr, and shadow for address 0 exists.

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.

5 participants