Permanently Deleted

3 points

Don’t you have to reserve the memory before showing it?

permalink
report
reply
4 points

i think the intention is to look at the stack itself. which could work, if the pointers werent hopelessly mangled by being cast from an 8byte pointer type to a 4byte integer type…

unless this machine really is 32bit

permalink
report
parent
reply
3 points

i dont think pointers are the same size as your int. you’re on 64bit, arent you? so all this code is broken.

permalink
report
reply

General Programming Discussion

!programming@lemmy.ml

Create post

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

Community stats

  • 3

    Monthly active users

  • 242

    Posts

  • 140

    Comments