René's URL Explorer Experiment


Title: I Fixed ---- Arithmetic operation resulted in an overflow. (ReClass.NET) · Issue #264 · ReClassNET/ReClass.NET · GitHub

Open Graph Title: I Fixed ---- Arithmetic operation resulted in an overflow. (ReClass.NET) · Issue #264 · ReClassNET/ReClass.NET

X Title: I Fixed ---- Arithmetic operation resulted in an overflow. (ReClass.NET) · Issue #264 · ReClassNET/ReClass.NET

Description: I got this error on 64bit compiled version against a 64 bit process I was memory searching (had to change it to a long): =================================== Arithmetic operation resulted in an overflow. (ReClass.NET) --------------------...

Open Graph Description: I got this error on 64bit compiled version against a 64 bit process I was memory searching (had to change it to a long): =================================== Arithmetic operation resulted in an over...

X Description: I got this error on 64bit compiled version against a 64 bit process I was memory searching (had to change it to a long): =================================== Arithmetic operation resulted in an over...

Opengraph URL: https://github.com/ReClassNET/ReClass.NET/issues/264

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"I Fixed ---- Arithmetic operation resulted in an overflow. (ReClass.NET)","articleBody":"I got this error on 64bit compiled version against a 64 bit process I was memory searching (had to change it to a long):\r\n\r\n````\r\n===================================\r\n\r\nArithmetic operation resulted in an overflow. (ReClass.NET)\r\n\r\n------------------------------\r\nFor help, click: https://github.com/ReClassNET/ReClass.NET/issues\r\n\r\n------------------------------\r\nProgram Location:\r\n\r\n   at ReClassNET.MemoryScanner.Scanner.ConsolidateSections(IList`1 sections) in C:\\Users\\chris\\Downloads\\ReClass.NET-master\\ReClass.NET\\MemoryScanner\\Scanner.cs:line 344\r\n   at ReClassNET.MemoryScanner.Scanner.FirstScan(IScanComparer comparer, IProgress`1 progress, CancellationToken ct) in C:\\Users\\chris\\Downloads\\ReClass.NET-master\\ReClass.NET\\MemoryScanner\\Scanner.cs:line 201\r\n   at ReClassNET.Forms.ScannerForm.\u003cStartFirstScanEx\u003ed__43.MoveNext() in C:\\Users\\chris\\Downloads\\ReClass.NET-master\\ReClass.NET\\Forms\\ScannerForm.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at ReClassNET.Forms.ScannerForm.\u003cfirstScanButton_Click\u003ed__17.MoveNext() in C:\\Users\\chris\\Downloads\\ReClass.NET-master\\ReClass.NET\\Forms\\ScannerForm.cs:line 142\r\n\r\n````\r\n\r\nI fixed it by changing `Scanner.cs`\r\n\r\n````\r\n\t\tclass ConsolidatedMemoryRegion\r\n\t\t{\r\n\t\t\tpublic IntPtr Address { get; set; }\r\n\t\t\tpublic int Size { get; set; } // Keep as int\r\n\t\t}\r\n````\r\n\r\nAlso in that same file:\r\n\r\n````\r\n\t\tprivate static List\u003cConsolidatedMemoryRegion\u003e ConsolidateSections(IList\u003cSection\u003e sections)\r\n\t\t{\r\n\t\t\tvar regions = new List\u003cConsolidatedMemoryRegion\u003e();\r\n\r\n\t\t\tif (sections.Count \u003e 0)\r\n\t\t\t{\r\n\t\t\t\tvar address = sections[0].Start;\r\n\t\t\t\tlong size = sections[0].Size.ToInt64(); // Updated to long\r\n\r\n\t\t\t\tfor (var i = 1; i \u003c sections.Count; ++i)\r\n\t\t\t\t{\r\n\t\t\t\t\tvar section = sections[i];\r\n\t\t\t\t\tif (address + (int)size != section.Start) // Updated to cast to int\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tregions.Add(new ConsolidatedMemoryRegion { Address = address, Size = (int)size }); // Updated to cast to int\r\n\r\n\t\t\t\t\t\taddress = section.Start;\r\n\t\t\t\t\t\tsize = section.Size.ToInt64(); // Updated to long\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tsize += section.Size.ToInt64(); // Updated to long\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tregions.Add(new ConsolidatedMemoryRegion { Address = address, Size = (int)size }); // Updated to cast to int\r\n\t\t\t}\r\n\r\n\t\t\treturn regions;\r\n\t\t}\r\n````\r\n","author":{"url":"https://github.com/chrisjd20","@type":"Person","name":"chrisjd20"},"datePublished":"2023-08-17T00:08:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/264/ReClass.NET/issues/264"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:54c64686-b9a1-3242-b034-f30a55d29ef2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8CCE:C18F1:A0BBF2:D98887:696E8704
html-safe-nonceae6fcc0d516823add87335ad54da62f7cbe1c9d0671597bb96cf17a75244e66e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0NFOkMxOEYxOkEwQkJGMjpEOTg4ODc6Njk2RTg3MDQiLCJ2aXNpdG9yX2lkIjoiODMwMjkwOTQxODUzOTkyNzA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc9ece8c92c67914efdd3ec8c34247a549a87780c5e4563fde2f0afa8daad274a
hovercard-subject-tagissue:1854049537
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/ReClassNET/ReClass.NET/264/issue_layout
twitter:imagehttps://opengraph.githubassets.com/af1dc69a5da9164e8469af3e48e0ecf54ca244dfd6d3fb8278e777f099e5a1e0/ReClassNET/ReClass.NET/issues/264
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/af1dc69a5da9164e8469af3e48e0ecf54ca244dfd6d3fb8278e777f099e5a1e0/ReClassNET/ReClass.NET/issues/264
og:image:altI got this error on 64bit compiled version against a 64 bit process I was memory searching (had to change it to a long): =================================== Arithmetic operation resulted in an over...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechrisjd20
hostnamegithub.com
expected-hostnamegithub.com
Nonefdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7
turbo-cache-controlno-preview
go-importgithub.com/ReClassNET/ReClass.NET git https://github.com/ReClassNET/ReClass.NET.git
octolytics-dimension-user_id36203059
octolytics-dimension-user_loginReClassNET
octolytics-dimension-repository_id70486261
octolytics-dimension-repository_nwoReClassNET/ReClass.NET
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id70486261
octolytics-dimension-repository_network_root_nwoReClassNET/ReClass.NET
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
release27b23bc056eb973d350fc95afc848757edb9e7a9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/issues/264#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FReClassNET%2FReClass.NET%2Fissues%2F264
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FReClassNET%2FReClass.NET%2Fissues%2F264
Sign up https://patch-diff.githubusercontent.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=ReClassNET%2FReClass.NET
Reloadhttps://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/issues/264
Reloadhttps://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/issues/264
Reloadhttps://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/issues/264
ReClassNET https://patch-diff.githubusercontent.com/ReClassNET
ReClass.NEThttps://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FReClassNET%2FReClass.NET
Fork 392 https://patch-diff.githubusercontent.com/login?return_to=%2FReClassNET%2FReClass.NET
Star 2.1k https://patch-diff.githubusercontent.com/login?return_to=%2FReClassNET%2FReClass.NET
Code https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET
Issues 71 https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/issues
Pull requests 12 https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/pulls
Discussions https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/discussions
Actions https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/actions
Projects 0 https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/security
Please reload this pagehttps://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/issues/264
Insights https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/pulse
Code https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET
Issues https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/issues
Pull requests https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/pulls
Discussions https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/discussions
Actions https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/actions
Projects https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/projects
Security https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/security
Insights https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/ReClassNET/ReClass.NET/issues/264
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/ReClassNET/ReClass.NET/issues/264
I Fixed ---- Arithmetic operation resulted in an overflow. (ReClass.NET)https://patch-diff.githubusercontent.com/ReClassNET/ReClass.NET/issues/264#top
https://github.com/chrisjd20
https://github.com/chrisjd20
chrisjd20https://github.com/chrisjd20
on Aug 17, 2023https://github.com/ReClassNET/ReClass.NET/issues/264#issue-1854049537
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.