From 58579664687b203ff34fad8aa02bf470ef0bc981 Mon Sep 17 00:00:00 2001 From: Zubin Mithra Date: Sun, 27 Aug 2017 13:13:22 +0100 Subject: docs: fix syz-headerparser documentation Remove the --device option from the documentation file docs/hedaerparser_usage.md --- docs/headerparser_usage.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/headerparser_usage.md') diff --git a/docs/headerparser_usage.md b/docs/headerparser_usage.md index 3bea38dbd..384775801 100644 --- a/docs/headerparser_usage.md +++ b/docs/headerparser_usage.md @@ -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) } -``` \ No newline at end of file +``` -- cgit mrf-deployment