(self, s)
| 914 | ) |
| 915 | |
| 916 | def do_dissect(self, s): |
| 917 | # Overload do_dissect to only include the current layer in dissection. |
| 918 | # This allows to support TrailerFields, even in the case where multiple DceRpc5 |
| 919 | # packets are concatenated |
| 920 | frag_len = self.get_field("frag_len").getfield(self, s[8:10])[1] |
| 921 | s, remain = s[:frag_len], s[frag_len:] |
| 922 | return super(DceRpc5, self).do_dissect(s) + remain |
| 923 | |
| 924 | def extract_padding(self, s): |
| 925 | # Now, take any data that doesn't fit in the current fragment and make it |
no test coverage detected