René's URL Explorer Experiment


Title: casting pointers to/from char * switches endianity · Issue #29 · crash-python/crash-python · GitHub

Open Graph Title: casting pointers to/from char * switches endianity · Issue #29 · crash-python/crash-python

X Title: casting pointers to/from char * switches endianity · Issue #29 · crash-python/crash-python

Description: This is most likely a gdb bug, we IIRC we agreed to collect all issues here. With the not-yet-commited ppc64 arch support from Jeff, on 11SP4 ppc64 kernel dump (thus big endian), with crash-python running on x86_64, I see the following p...

Open Graph Description: This is most likely a gdb bug, we IIRC we agreed to collect all issues here. With the not-yet-commited ppc64 arch support from Jeff, on 11SP4 ppc64 kernel dump (thus big endian), with crash-python ...

X Description: This is most likely a gdb bug, we IIRC we agreed to collect all issues here. With the not-yet-commited ppc64 arch support from Jeff, on 11SP4 ppc64 kernel dump (thus big endian), with crash-python ...

Opengraph URL: https://github.com/crash-python/crash-python/issues/29

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"casting pointers to/from char * switches endianity","articleBody":"This is most likely a gdb bug, we IIRC we agreed to collect all issues here.\r\nWith the not-yet-commited ppc64 arch support from Jeff, on 11SP4 ppc64 kernel dump (thus big endian), with crash-python running on x86_64, I see the following problem:\r\n\r\n\u003e\u003e\u003e print(gdb.Value(0xc0000007ef86f5f0).cast(gdb.lookup_type('struct list_head').pointer()))\r\n0xc0000007ef86f5f0\r\n\r\nOK so far\r\n\r\n\u003e\u003e\u003e print(gdb.Value(0xc0000007ef86f5f0).cast(gdb.lookup_type('char').pointer()))\r\n0xc0000007ef86f5f0 \"\\300\"\r\n\r\nalso OK, but:\r\n\r\n\u003e\u003e\u003e print(gdb.Value(0xc0000007ef86f5f0).cast(gdb.lookup_type('struct list_head').pointer()).cast(gdb.lookup_type('char').pointer()))\r\n0xf0f586ef070000c0 \u003cerror: Cannot access memory at address 0xf0f586ef070000c0\u003e\r\n\r\nI.e. casting from one kind of pointer to char pointer switches endianity.\r\n\r\nOpposite direction as well:\r\n\r\n\u003e\u003e\u003e print(gdb.Value(0xc0000007ef86f5f0).cast(gdb.lookup_type('char').pointer()).cast(gdb.lookup_type('struct list_head').pointer()))\r\n0xf0f586ef070000c0\r\n\r\nInterestingly enough, when \"char *\" is not involved at all...\r\n\r\n\u003e\u003e\u003e print(gdb.Value(0xc0000007ef86f5f0).cast(gdb.lookup_type('struct page').pointer()).cast(gdb.lookup_type('struct list_head').pointer()))\r\n0xc0000007ef86f5f0\r\n\r\nThis breaks the current implementation of container_of(), I have modified it locally to cast to long instead of charp.","author":{"url":"https://github.com/tehcaster","@type":"Person","name":"tehcaster"},"datePublished":"2019-02-07T08:05:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/29/crash-python/issues/29"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f1739add-589f-e5a5-677a-afc9b841872d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id99B8:19B134:181BE1:21D34A:6A62EC3F
html-safe-nonce0a53e1daa49a01151b9da5d4da23d210b0f787b17adb86475bb37463ac807e8d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUI4OjE5QjEzNDoxODFCRTE6MjFEMzRBOjZBNjJFQzNGIiwidmlzaXRvcl9pZCI6IjQ3MDI3NjY1OTk5Mjk3ODU0MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfdaaca2ebe50d17f670eb6860504b0dbd851243c84b2373f07687c585c32b90d
hovercard-subject-tagissue:407580472
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/crash-python/crash-python/29/issue_layout
twitter:imagehttps://opengraph.githubassets.com/50652dc1a23fa1156f4aa104cf2e53ab5e6ce3173cafa121a5876eb15b6075c3/crash-python/crash-python/issues/29
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/50652dc1a23fa1156f4aa104cf2e53ab5e6ce3173cafa121a5876eb15b6075c3/crash-python/crash-python/issues/29
og:image:altThis is most likely a gdb bug, we IIRC we agreed to collect all issues here. With the not-yet-commited ppc64 arch support from Jeff, on 11SP4 ppc64 kernel dump (thus big endian), with crash-python ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametehcaster
hostnamegithub.com
expected-hostnamegithub.com
Nonedf33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd
turbo-cache-controlno-preview
go-importgithub.com/crash-python/crash-python git https://github.com/crash-python/crash-python.git
octolytics-dimension-user_id59613134
octolytics-dimension-user_logincrash-python
octolytics-dimension-repository_id51460283
octolytics-dimension-repository_nwocrash-python/crash-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id51460283
octolytics-dimension-repository_network_root_nwocrash-python/crash-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released41cd1bdb290013455c0ac430fa755621733f5eb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/crash-python/crash-python/issues/29#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcrash-python%2Fcrash-python%2Fissues%2F29
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcrash-python%2Fcrash-python%2Fissues%2F29
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=crash-python%2Fcrash-python
Reloadhttps://github.com/crash-python/crash-python/issues/29
Reloadhttps://github.com/crash-python/crash-python/issues/29
Reloadhttps://github.com/crash-python/crash-python/issues/29
Please reload this pagehttps://github.com/crash-python/crash-python/issues/29
crash-python https://github.com/crash-python
crash-pythonhttps://github.com/crash-python/crash-python
Notifications https://github.com/login?return_to=%2Fcrash-python%2Fcrash-python
Fork 25 https://github.com/login?return_to=%2Fcrash-python%2Fcrash-python
Star 74 https://github.com/login?return_to=%2Fcrash-python%2Fcrash-python
Code https://github.com/crash-python/crash-python
Issues 8 https://github.com/crash-python/crash-python/issues
Pull requests 7 https://github.com/crash-python/crash-python/pulls
Actions https://github.com/crash-python/crash-python/actions
Projects https://github.com/crash-python/crash-python/projects
Security and quality 0 https://github.com/crash-python/crash-python/security
Insights https://github.com/crash-python/crash-python/pulse
Code https://github.com/crash-python/crash-python
Issues https://github.com/crash-python/crash-python/issues
Pull requests https://github.com/crash-python/crash-python/pulls
Actions https://github.com/crash-python/crash-python/actions
Projects https://github.com/crash-python/crash-python/projects
Security and quality https://github.com/crash-python/crash-python/security
Insights https://github.com/crash-python/crash-python/pulse
casting pointers to/from char * switches endianityhttps://github.com/crash-python/crash-python/issues/29#top
https://github.com/tehcaster
tehcasterhttps://github.com/tehcaster
on Feb 7, 2019https://github.com/crash-python/crash-python/issues/29#issue-407580472
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.