mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
refine Val "footprint" to equate long strings with multiple objects
This commit is contained in:
parent
d7e30d9ee2
commit
1f9fa4304d
6 changed files with 20 additions and 1 deletions
|
@ -564,6 +564,8 @@ public:
|
|||
StringValPtr Replace(RE_Matcher* re, const String& repl, bool do_all);
|
||||
|
||||
protected:
|
||||
unsigned int ComputeFootprint(std::unordered_set<const Val*>* analyzed_vals) const override;
|
||||
|
||||
void ValDescribe(ODesc* d) const override;
|
||||
ValPtr DoClone(CloneState* state) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue