2020-01-27 15:25:04 +01:00
|
|
|
`pktbuf` parser
|
|
|
|
===============
|
|
|
|
|
|
|
|
This parses the output of the command `pktbuf` provided by the module
|
2022-09-24 14:50:43 +02:00
|
|
|
`shell_cmd_gnrc_pktbuf` for the `gnrc_pktbuf_static` implementation.
|
2020-01-27 15:25:04 +01:00
|
|
|
|
|
|
|
The command expects the ELF file of the binary the `pktbuf` command was executed
|
|
|
|
in to get some binary information on structs potentially stored in the packet
|
|
|
|
buffer.
|
|
|
|
|
|
|
|
A packet buffer dump can also be provided as a file. If not provided, it is read
|
|
|
|
from STDIN.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
./pktbuf-stats.py <ELF file> [<pktbuf-dump>]
|
|
|
|
```
|
|
|
|
|
|
|
|
Requires GDB to be installed
|