Title: Crash in simplecpp::Macro::expand() · Issue #470 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: Crash in simplecpp::Macro::expand() · Issue #470 · cppcheck-opensource/simplecpp
X Title: Crash in simplecpp::Macro::expand() · Issue #470 · cppcheck-opensource/simplecpp
Description: #define lparen ( #define a0 fooa0 #define a1 fooa1 a0 #define a2 fooa2 a1 #define a3 fooa3 a2 #define a() b lparen ) #define b() c lparen ) #define c() d lparen ) #define g h #define i(j) j #define f(...) #__VA_OPT__(g i(0)) const char *...
Open Graph Description: #define lparen ( #define a0 fooa0 #define a1 fooa1 a0 #define a2 fooa2 a1 #define a3 fooa3 a2 #define a() b lparen ) #define b() c lparen ) #define c() d lparen ) #define g h #define i(j) j #define...
X Description: #define lparen ( #define a0 fooa0 #define a1 fooa1 a0 #define a2 fooa2 a1 #define a3 fooa3 a2 #define a() b lparen ) #define b() c lparen ) #define c() d lparen ) #define g h #define i(j) j #define...
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/470
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crash in simplecpp::Macro::expand()","articleBody":"~~~c\n#define lparen (\n#define a0 fooa0\n#define a1 fooa1 a0\n#define a2 fooa2 a1\n#define a3 fooa3 a2\n#define a() b lparen )\n#define b() c lparen )\n#define c() d lparen )\n#define g h\n#define i(j) j\n#define f(...) #__VA_OPT__(g i(0))\nconst char *v1 = f();\n~~~\nDownstream: https://trac.cppcheck.net/ticket/14043","author":{"url":"https://github.com/chrchr-github","@type":"Person","name":"chrchr-github"},"datePublished":"2025-08-01T17:30:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/470/simplecpp/issues/470"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:930566bc-bbcb-4a94-c260-e22052bfeb0a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9CA6:48B83:194CB5F:22FBC46:6A500BB8 |
| html-safe-nonce | 85c580772b5e6533f298216b4dec60f7f850cea5181dd0c63f3f4f44ee535465 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0E2OjQ4QjgzOjE5NENCNUY6MjJGQkM0Njo2QTUwMEJCOCIsInZpc2l0b3JfaWQiOiI3OTgwNjc3NjU1ODkxNTQ1MDE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ca077e3071f4380c786459e6c75a9820108f53c5fa8f6b6cc5075447c4e914ec |
| hovercard-subject-tag | issue:3284648592 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cppcheck-opensource/simplecpp/470/issue_layout |
| twitter:image | https://opengraph.githubassets.com/740618975bf2e4ff4019791672e88609c47072539a29a45d05133d9d23b055c1/cppcheck-opensource/simplecpp/issues/470 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/740618975bf2e4ff4019791672e88609c47072539a29a45d05133d9d23b055c1/cppcheck-opensource/simplecpp/issues/470 |
| og:image:alt | #define lparen ( #define a0 fooa0 #define a1 fooa1 a0 #define a2 fooa2 a1 #define a3 fooa3 a2 #define a() b lparen ) #define b() c lparen ) #define c() d lparen ) #define g h #define i(j) j #define... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chrchr-github |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56eec25a3430492dd6ec2a480eb33256a0da5192d5714b0db4f5ab5f33203d94 |
| turbo-cache-control | no-preview |
| go-import | github.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 33434464 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/simplecpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33434464 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/simplecpp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 93a615b89b7dcbdb6b678f4772931ecc28ada82a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width