(ace, sdtype)
| 1106 | yield u" " + inherited_object_type |
| 1107 | |
| 1108 | def explain_callback_ace(ace, sdtype): |
| 1109 | yield u"Type:" |
| 1110 | yield u" " + str(ace.Header.AceType) |
| 1111 | yield u"HeaderFlags:" |
| 1112 | yield u" {0:#x}".format(ace.Header.AceFlags) |
| 1113 | yield u"SID:" |
| 1114 | yield u" " + explain_sid(ace.sid) |
| 1115 | yield u"Mask:" |
| 1116 | mapper = windows.security.SPECIFIC_ACCESS_RIGTH_BY_TYPE[sdtype] |
| 1117 | yield u" " + str(list(mapper[x] for x in ace.mask)) |
| 1118 | yield u"Application data:" |
| 1119 | yield u" " + repr(ace.application_data.replace(b"\x00", b"")) |
| 1120 | try: |
| 1121 | condition = ace.condition |
| 1122 | yield u"Condition:" |
| 1123 | yield u" " + condition |
| 1124 | except ValueError: |
| 1125 | pass |
| 1126 | |
| 1127 | def explain_resource_attribute(ace, sdtype): |
| 1128 | yield u"Type:" |
nothing calls this directly
no test coverage detected