crowdsec/pkg/exprhelpers
Thibault "bui" Koechlin 1dcf9d1ae1
Improved expr debugger (#2495)
* new expr debugger

---------

Co-authored-by: mmetc <92726601+mmetc@users.noreply.github.com>
2023-11-24 11:10:54 +01:00
..
tests skip empty lines to avoid issue of #630 (#631) 2021-02-25 09:57:24 +01:00
crowdsec_cti.go fix null deref in cti calls if key is empty (#2540) 2023-10-17 09:34:53 +01:00
crowdsec_cti_test.go fix null deref in cti calls if key is empty (#2540) 2023-10-17 09:34:53 +01:00
debugger.go Improved expr debugger (#2495) 2023-11-24 11:10:54 +01:00
debugger_test.go Improved expr debugger (#2495) 2023-11-24 11:10:54 +01:00
expr_lib.go fix the float comparison by using Abs(a,b) < 1e-6 approach (IEEE 754). Move the initializiation of expr helpers (#2492) 2023-09-28 17:22:00 +02:00
exprlib_test.go Improved expr debugger (#2495) 2023-11-24 11:10:54 +01:00
helpers.go Load file only once if specified twice, and bail earlier if type is unknown (#2419) 2023-10-13 22:34:57 +01:00
jsonextract.go Unmarshal Json (#2414) 2023-08-09 09:42:08 +01:00
jsonextract_test.go Add ParseKV helper and rework UnmarshalJSON as a proper helper (#2184) 2023-05-12 09:43:01 +02:00
strings.go add a LogInfo expr helper (#2179) 2023-05-03 10:07:11 +02:00
xml.go use expr.Function for custom functions instead of passing them in the env (#2133) 2023-03-28 10:49:01 +02:00
xml_test.go use expr.Function for custom functions instead of passing them in the env (#2133) 2023-03-28 10:49:01 +02:00