Skip to content

Conversation

@arichardson
Copy link
Member

@arichardson arichardson commented Jul 16, 2021

This makes it a lot easier to determine whether a capability is
out-of-bounds, espeicially if the address looks quite similar:

(gdb) p e
$1 = (FcPatternElt *) 0x42a58200 [rwRW,0x42a558c0-0x42a558f0] (out-of-bounds)

This makes it a lot easier to determine whether a capability is
out-of-bounds, espeicially if the address look quite similar:

```
(gdb) p e
$1 = (FcPatternElt *) 0x42a58200 [rwRW,0x42a558c0-0x42a558f0] (out-of-bounds)
```
@arichardson arichardson requested a review from bsdjhb July 16, 2021 10:46
Copy link
Collaborator

@bsdjhb bsdjhb left a comment

Choose a reason for hiding this comment

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

Hmm, so the way the other attributes work is that they are all grouped together in a comma-separated list in a single set of ()'s. To be consistent, we should also add this to printf/strfcap and the wiki doc. For gdb we'd need to fix the 3 places (maybe I can refactor some of that to use a hook for the permissions printing but use a single copy of code that works with a 'cap').

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