in reply to Hex numbers (e.g. memory addresses) pseudonymising for comparable logging output

Similar techniques are also useful for strace output; I've done similar things to timestamps (converting them all to be relative to the start time) and to addresses in return values (like what's done here).

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re: Hex numbers (e.g. memory addresses) pseudonymising for comparable logging output
  • Download Code

Replies are listed 'Best First'.
Re^2: Hex numbers (e.g. memory addresses) pseudonymising for comparable logging output
by etj (Priest) on Feb 19, 2022 at 09:00 UTC
    Might be useful to extract into a little App::something that could take various REs and apply a specified pseudonymisation to them, e.g. subtract a value, or just replace with a label+sequence.