Skip to content

Update Answer.md #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 511558025
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lab5/Answer.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,4 @@ int main() {
}
```
### Why
陣列a大小為10,當取得第一個element的指標後,為了避開redzone,所以再把指標往後移動11個位置,但是,ASan會在程式執行期間監視記憶體存取,並在檢測到不正確的記憶體存取時引發錯誤。
陣列a大小為10,當取得第一個element的指標後,為了避開redzone,所以再把指標往後移動11個位置,但是,ASan會在程式執行期間監視記憶體存取,並在檢測到不正確的記憶體存取時引發錯誤。
Loading