[S] Change in libosmocore[master]: contrib/talloc_count.sh: improve hexadecimal masking
neels has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/31873 ) Change subject: contrib/talloc_count.sh: improve hexadecimal masking ...................................................................... contrib/talloc_count.sh: improve hexadecimal masking Also mask hexadecimal without leading 0x. But take care to not match on every letter a-f,A-F in normal words and names. before: 10 map_rua(NffffNfNecN-example-com-RUA-N)[N] 10 map_sccp(NffffNfNecN-example-com-SCCP-N)[N] 17 map_rua(NffffNcN-example-com-RUA-N)[N] 17 map_sccp(NffffNcN-example-com-SCCP-N)[N] 18 map_rua(NffffNeNbN-example-com-RUA-N)[N] 18 map_sccp(NffffNeNbN-example-com-SCCP-N)[N] 82 map_rua(NffffNfNdN-example-com-RUA-N)[N] 82 map_sccp(NffffNfNdN-example-com-SCCP-N)[N] 85 map_rua(NffffNfN-example-com-RUA-N)[N] 85 map_sccp(NffffNfN-example-com-SCCP-N)[N] 224 struct hnbgw_context_map after: 224 map_rua(N-example-com-RUA-N)[N] 224 map_sccp(N-example-com-SCCP-N)[N] 224 struct hnbgw_context_map Change-Id: I1b42ce3e67c7ed2d38d3e5c9cbfa90ba185a07b7 --- M contrib/talloc_count.sh 1 file changed, 33 insertions(+), 0 deletions(-) Approvals: laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/contrib/talloc_count.sh b/contrib/talloc_count.sh index 3b03585..61aa3f5 100755 --- a/contrib/talloc_count.sh +++ b/contrib/talloc_count.sh @@ -35,6 +35,7 @@ | grep -v '^$' \ | grep -v '^[0-9]\+$' \ | sed 's/0x[0-9a-fA-F]\+/N/g' \ + | sed 's/\<[0-9a-fA-F]\+\>/N/g' \ | sed 's/[0-9]\+/N/g' \ | sort \ > "$mangled" -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/31873 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I1b42ce3e67c7ed2d38d3e5c9cbfa90ba185a07b7 Gerrit-Change-Number: 31873 Gerrit-PatchSet: 2 Gerrit-Owner: neels <nhofmeyr@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-MessageType: merged
participants (1)
-
neels