Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
perf-instrumentation
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
safedocs-ta2-profiling
perf-instrumentation
Commits
47fa99c6
Commit
47fa99c6
authored
3 years ago
by
pompolic
Browse files
Options
Downloads
Patches
Plain Diff
More README
parent
a894103d
Branches
parser-hierarchy
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gdb-port/README
+8
-3
8 additions, 3 deletions
gdb-port/README
with
8 additions
and
3 deletions
gdb-port/README
+
8
−
3
View file @
47fa99c6
Requirements
- Hammer and the target parser (pdf, for now) must be built with debug symbols for the tool to work
- The GUI component uses Tkinter to draw a window
Invocation
```
...
...
@@ -18,11 +23,11 @@ Tests
gdb -ex "source /path/to/utility-commands.py" -ex "hammer-parse-stop-at-pos 50" -ex "source /path/to/parser-type-instrumentation-gdb.py" -ex "source /path/to/parser-name-instrumentation-gdb.py" -ex "source /path/to/tests/unit/parser-envs-pdf.py" --args /path/to/pdf /path/to/input.pdf
```
Commands
#
Commands
The tool is in an experimental stage. The interface is liable to change.
Execution control
:
##
Execution control
```
hammer-parse-stop-at-input-pos <number>
...
...
@@ -59,7 +64,7 @@ hammer-parse-continue
Alias of GDB `continue`. May change later.
Querying
:
##
Querying
```
hammer-parser-backtrace [number]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment