added docs

pull/3051/head
jxuanli 7 months ago
parent d40fa8602f
commit 3d1a36c40b

@ -86,7 +86,10 @@
- [knft-list-tables](kernel/knft-list-tables.md) - Dump netfliter tables from a specific network namespace
- [kversion](kernel/kversion.md) - Outputs the kernel version (/proc/version).
- [msr](kernel/msr.md) - Read or write to Model Specific Register (MSR)
- [p2v](kernel/p2v.md) - Translate physical address to its corresponding virtual address.
- [pagewalk](kernel/pagewalk.md) - Performs pagewalk.
- [slab](kernel/slab.md) - Prints information about the linux kernel's slab allocator SLUB.
- [v2p](kernel/v2p.md) - Translate virtual address to its corresponding physical address.
## Linux/libc/ELF

@ -0,0 +1,23 @@
<!-- THIS PART OF THIS FILE IS AUTOGENERATED. DO NOT MODIFY IT. See scripts/generate-docs.sh -->
# p2v
```text
usage: p2v [-h] paddr
```
Translate physical address to its corresponding virtual address.
### Positional arguments
|Positional Argument|Help|
| :--- | :--- |
|paddr||
### Optional arguments
|Short|Long|Help|
| :--- | :--- | :--- |
|-h|--help|show this help message and exit|
<!-- END OF AUTOGENERATED PART. Do not modify this line or the line below, they mark the end of the auto-generated part of the file. If you want to extend the documentation in a way which cannot easily be done by adding to the command help description, write below the following line. -->
<!-- ------------\>8---- ----\>8---- ----\>8------------ -->

@ -0,0 +1,24 @@
<!-- THIS PART OF THIS FILE IS AUTOGENERATED. DO NOT MODIFY IT. See scripts/generate-docs.sh -->
# pagewalk
```text
usage: pagewalk [-h] [--pgd ENTRY] vaddr
```
Performs pagewalk.
### Positional arguments
|Positional Argument|Help|
| :--- | :--- |
|vaddr|virtual address to walk|
### Optional arguments
|Short|Long|Help|
| :--- | :--- | :--- |
|-h|--help|show this help message and exit|
||--pgd||
<!-- END OF AUTOGENERATED PART. Do not modify this line or the line below, they mark the end of the auto-generated part of the file. If you want to extend the documentation in a way which cannot easily be done by adding to the command help description, write below the following line. -->
<!-- ------------\>8---- ----\>8---- ----\>8------------ -->

@ -0,0 +1,23 @@
<!-- THIS PART OF THIS FILE IS AUTOGENERATED. DO NOT MODIFY IT. See scripts/generate-docs.sh -->
# v2p
```text
usage: v2p [-h] vaddr
```
Translate virtual address to its corresponding physical address.
### Positional arguments
|Positional Argument|Help|
| :--- | :--- |
|vaddr||
### Optional arguments
|Short|Long|Help|
| :--- | :--- | :--- |
|-h|--help|show this help message and exit|
<!-- END OF AUTOGENERATED PART. Do not modify this line or the line below, they mark the end of the auto-generated part of the file. If you want to extend the documentation in a way which cannot easily be done by adding to the command help description, write below the following line. -->
<!-- ------------\>8---- ----\>8---- ----\>8------------ -->

@ -581,6 +581,17 @@ The soft line width for go-dump pretty printing.
----------
## **guess-physmap**
Should guess physmap base address when debug symbols are not present.
**Default:** off
----------
## **hexdump-bytes**

Loading…
Cancel
Save