Title: flush instruction cache after performing relocations by hMihaiDavid · Pull Request #59 · fancycode/MemoryModule · GitHub
Open Graph Title: flush instruction cache after performing relocations by hMihaiDavid · Pull Request #59 · fancycode/MemoryModule
X Title: flush instruction cache after performing relocations by hMihaiDavid · Pull Request #59 · fancycode/MemoryModule
Description: Flush instruction cache to avoid executing stale code after performing relocations. According to MSDN: "Applications should call FlushInstructionCache if they generate or modify code in memory. The CPU cannot detect the change, and may execute the old code it cached.". After performing relocation we have modified executable code, so if we don't flush the cache maybe the old code without relocation is executed instead. So far the code has woked without flushing instruction cache but it's better to be safe. https://msdn.microsoft.com/en-us/library/windows/desktop/ms679350(v=vs.85).aspx
Open Graph Description: Flush instruction cache to avoid executing stale code after performing relocations. According to MSDN: "Applications should call FlushInstructionCache if they generate or modify code in memory...
X Description: Flush instruction cache to avoid executing stale code after performing relocations. According to MSDN: "Applications should call FlushInstructionCache if they generate or modify code in me...
Opengraph URL: https://github.com/fancycode/MemoryModule/pull/59
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:57d10e0c-5c7d-fc43-42ba-f7f3e27dc524 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AF14:EA68C:AAB95:E0C51:69702373 |
| html-safe-nonce | 54d0b35f12975b1df4098b2a7bdd1dd186b76a23254682bbcd1ce902d16e5746 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjE0OkVBNjhDOkFBQjk1OkUwQzUxOjY5NzAyMzczIiwidmlzaXRvcl9pZCI6Ijg4NjM0NDY3Nzg0MjIyNDAxMTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fd512509f93fa68d825e05cd401eef9a8dfedf5e6fceb4f5395d90b862527ff6 |
| hovercard-subject-tag | pull_request:99809103 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/fancycode/MemoryModule/pull/59/files |
| twitter:image | https://avatars.githubusercontent.com/u/24855110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/24855110?s=400&v=4 |
| og:image:alt | Flush instruction cache to avoid executing stale code after performing relocations. According to MSDN: "Applications should call FlushInstructionCache if they generate or modify code in memory... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 26d344b5c41e8171f05f1b33de4ed89a222e01250099adfcd988bb0e02fd1cbb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/fancycode/MemoryModule git https://github.com/fancycode/MemoryModule.git |
| octolytics-dimension-user_id | 247730 |
| octolytics-dimension-user_login | fancycode |
| octolytics-dimension-repository_id | 1018522 |
| octolytics-dimension-repository_nwo | fancycode/MemoryModule |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1018522 |
| octolytics-dimension-repository_network_root_nwo | fancycode/MemoryModule |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9f0c240136b4f91bdb92e57a88ba5dc425cbdb12 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width