sh.itjust.works
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
haxor@derp.fooMB to Hacker News@derp.fooEnglish · 2 years ago

GCC always assumes aligned pointer accesses

trust-in-soft.com

external-link
message-square
0
link
fedilink
  • cross-posted to:
  • [email protected]
3
external-link

GCC always assumes aligned pointer accesses

trust-in-soft.com

haxor@derp.fooMB to Hacker News@derp.fooEnglish · 2 years ago
message-square
0
link
fedilink
  • cross-posted to:
  • [email protected]
GCC always assumes aligned pointer accesses - TrustInSoft, exhaustive static analysis tools for software security and safety
trust-in-soft.com
external-link
icon/arrow Back to news Leading to consequences of unexpected program behavior  TL;DR This post shows that modern optimizing C compilers assume that the source code they are compiling respects memory alignment constraints, even if the target architecture imposes no such restriction. This can lead to compiled programs not behaving as the programmer intended. C: The […]

There is a discussion on Hacker News, but feel free to comment here as well.

alert-triangle
You must log in or register to comment.

Hacker News@derp.foo

hackernews@derp.foo

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]
lock
Community locked: only moderators can create posts. You can still comment on posts.

This community serves to share top posts on Hacker News with the wider fediverse.

Rules
  1. Keep it legal
  2. Keep it civil and SFW
  3. Keep it safe for members of marginalised groups
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 208 local subscribers
  • 202 subscribers
  • 18.1K Posts
  • 10.3K Comments
  • Modlog
  • mods:
  • haxor@derp.foo
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org