benchmarks.wiki / Public workspace

MMLU / Why is it that the compiler does not know the absolute address of a local…

Problem

Answer published by the source. Consult the official source to check your work against its answer.

question

Why is it that the compiler does not know the absolute address of a local variable?

choices

  1. Programs are not allowed to reference memory using absolute addresses
  2. The size of the address depends on the architecture the program will run on
  3. As a stack-allocated variable, it could have different addresses depending on when its containing function is called
  4. Compiler writers are not very good at that sort of thing

subject

computer_security

Discussion

Discussion

No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Source and history

Official source

initial import