Regular expression support in instrumentation languages using kernel-mode executable code
Abstract
Systems and methods are provided for regular expression support in instrumentation languages using kernel-mode executable code. An example system includes a translator module that receives an input source code including a regular expression in a first source code language, wherein the translator module further determines a matching function in kernel-mode code language corresponding to the regular expression, and wherein the matching function corresponds to deterministic finite automaton. The system further includes a kernel module that processes at least one string using the matching function, wherein the matching function simulates state transitions of the deterministic finite automaton using the at least one string.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system for providing regular expression support using kernel-mode code language matching functions, the system comprising: at least one hardware processor coupled to a non-transitory memory and configured to cause the system to execute: a translator module that receives a probe script comprising an input source code of an event occurring in a host machine operating system and compiles the probe script written in a scripting language comprising SystemTap, wherein the probe script includes a set of definitions assigned by a user to reference other probe scripts, wherein the probe script includ
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- Computer scripting language. 2014. Encyclopdia Britannica Online. Retrieved Oct. 31, 2014, from http://www.britannica.com/EBchecked/topic/1086439/computer-scripting-language.
- http://onlinelibrary.wiley.com/doi/10.1002/spe.841/abstract,Vassillos Karakoidas, Diomidis Spinellis, Fire/J-Optimizing Regular Expression Searches with Generative Programming, Athens University of Economics and Business, Patission Ave 74 GR-10434, Athens, Greece, Jul. 23, 2007, 2 pp.
- http://stackoverflow.com/questions/952998/is-there-a-way-to-precompile-a-regex-in-perl, is there a way to precompile a regex in Perl?, StackOverflow.com, 2009, 2 pp.
- http://www.perlmonks.org/?node-id=910116, Precompiling Substitution Regex, PerlMonks.org, 2011, 3 pp.
- http://www.sciencedirect.com/science/article/pii/S0010465510000986, T. Reiter, Optimising Code Generation with Haggies, Nikhef, Science Park 105, 1098 XG Amsterdam, The Netherlands, Jul. 2010, 4 pp.