mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 19:39:40 +00:00
docs: fix syz-headerparser documentation
Remove the --device option from the documentation file docs/hedaerparser_usage.md
This commit is contained in:
parent
e2ffb4fc91
commit
5857966468
@ -19,7 +19,7 @@ $ pip install pycparser
|
||||
|
||||
## Using headerparser
|
||||
```shell
|
||||
$ python headerparser.py --device th_b --filenames=./test_headers/th_b.h
|
||||
$ python headerparser.py --filenames=./test_headers/th_b.h
|
||||
B {
|
||||
B1 len|fileoff|flags|intN #(unsigned long)
|
||||
B2 len|fileoff|flags|intN #(unsigned long)
|
||||
@ -37,7 +37,7 @@ You can copy paste the content underneath the `Structure Metadata` over to your
|
||||
Let us try parsing `test_headers/th_a.h` header file to generate argument structs.
|
||||
|
||||
```shell
|
||||
$ python headerparser.py --device th_a --filenames=./test_headers/th_a.h
|
||||
$ python headerparser.py --filenames=./test_headers/th_a.h
|
||||
ERROR:root:HeaderFilePreprocessorException: /tmp/tmpW8xzty/source.o:36:2: before: some_type
|
||||
|
||||
$ python headerparser.py --filenames=./test_headers/th_a.h --debug
|
||||
@ -62,4 +62,4 @@ A {
|
||||
another_bool _Bool #(_Bool)
|
||||
var some_type #(some_type)
|
||||
}
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user