Skip to content
Snippets Groups Projects
Commit 2ca0b954 authored by Per Lindgren's avatar Per Lindgren
Browse files

full integration ident/pest

parent d01e5cd4
Branches
No related tags found
No related merge requests found
alpha = { 'a'..'z' | 'A'..'Z' }
digit = { '0'..'9' }
digits = @{ digit+ }
hex = @{ "0x" ~ (digit | 'a'..'f' | 'A'..'F')+ }
ident = { (alpha | digit | "."| "$" | "_" | ":")+ }
entry = { "'" ~ ident ~ "'"}
address = { "<" ~ hex ~ ">"}
function = { entry ~ "<" ~ address ~ ">" ~ "#uses=" ~ digits }
nullfunction = { "<<null function>>" ~ "<" ~ address ~ ">" ~ "#uses=" ~ digits }
callext = { "CS" ~ address ~ "calls" ~ "external" ~ "node" }
callfun = { "CS" ~ address ~ "calls" ~ "function" ~ entry }
fun = { "Call graph node for function:" ~ function ~ (callext | callfun)* }
null = { "Call graph node" ~ nullfunction ~ (callext | callfun)* }
ident_list = _{ SOI ~ (fun|null)* ~ EOI }
WHITESPACE = _{ " " | "\t" | "\n"}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment