AndresFreundTec on Nostr: Afaict valgrind would not have complained about the payload without ...
Afaict valgrind would not have complained about the payload without -fno-omit-frame-pointer. It was because _get_cpuid() expected the stack frame to look a certain way.
Additionally, I chose to use debian unstable to find possible portability problems earlier. Without that valgrind would have had nothing to complain.
Without having seen the odd complaints in valgrind, I don't think I would have looked deeply enough when seeing the high cpu in sshd below _get_cpuid().
Published at
2024-03-30 22:29:42Event JSON
{
"id": "6308ec6ab83307ad40b708498b2d1141b817df1ac4f7c6c7d3ecaa741149b16a",
"pubkey": "d33ea30716562b9255e89766f4d1cf37324284944679d57a3eed9775876dc606",
"created_at": 1711837782,
"kind": 1,
"tags": [
[
"p",
"d33ea30716562b9255e89766f4d1cf37324284944679d57a3eed9775876dc606"
],
[
"e",
"61829fcb995c89d6f9f10e6538fffe00809300509a205f0b81c4f737304704d7",
"",
"root"
],
[
"e",
"28069b781955b91162291c567a4427bba6db550574bade1a6fe43cc91b322016",
"",
"reply"
],
[
"proxy",
"https://mastodon.social/users/AndresFreundTec/statuses/112187000944648334",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/AndresFreundTec/statuses/112187000944648334",
"pink.momostr"
]
],
"content": "Afaict valgrind would not have complained about the payload without -fno-omit-frame-pointer. It was because _get_cpuid() expected the stack frame to look a certain way.\n\nAdditionally, I chose to use debian unstable to find possible portability problems earlier. Without that valgrind would have had nothing to complain.\n\nWithout having seen the odd complaints in valgrind, I don't think I would have looked deeply enough when seeing the high cpu in sshd below _get_cpuid().",
"sig": "9524818da7058050f24dff1bb148e7463e3a7bcf43fe306b8fc505c5cd0c4d2df0d153ee6ffdcf625dcc54d5a1c19272a36fc1b18b3ef369e577deba9478611e"
}