Find an interface object through the name in the IDL
(name)
| 1311 | |
| 1312 | |
| 1313 | def find_dcerpc_interface(name) -> DceRpcInterface: |
| 1314 | """ |
| 1315 | Find an interface object through the name in the IDL |
| 1316 | """ |
| 1317 | try: |
| 1318 | return next(x for x in DCE_RPC_INTERFACES.values() if x.name == name) |
| 1319 | except StopIteration: |
| 1320 | raise AttributeError("Unknown interface !") |
| 1321 | |
| 1322 | |
| 1323 | COM_INTERFACES = {} |
no test coverage detected
searching dependent graphs…