We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally reported on Google Code with ID 250
% cat shm.cc #include <stdio.h> #include <sys/ipc.h> #include <sys/shm.h> #include <assert.h> int main() { int id = shmget(IPC_PRIVATE, 4096, 0644 | IPC_CREAT); assert(id > -1); struct shmid_ds ds; int res = shmctl(id, IPC_STAT, &ds); assert(res > -1); printf("shm_segsz: %zd\n", ds.shm_segsz); } % clang -fsanitize=address shm.cc && ./a.out shm_segsz: 4096 % clang shm.cc && ./a.out shm_segsz: 4096 % clang -m32 shm.cc && ./a.out shm_segsz: 4096 % clang -m32 -fsanitize=address shm.cc && ./a.out shm_segsz: 135004160 % Disabling the interceptor helps, I am going to disable it for 32-bit
Reported by konstantin.s.serebryany on 2013-11-29 14:04:45
konstantin.s.serebryany
The text was updated successfully, but these errors were encountered:
Disabled in http://llvm.org/viewvc/llvm-project?view=revision&revision=195958
Reported by konstantin.s.serebryany on 2013-11-29 14:14:39
Sorry, something went wrong.
FYI: this still fails despite http://llvm.org/viewvc/llvm-project?rev=200468&view=rev
Reported by konstantin.s.serebryany on 2014-01-31 09:07:14
Reported by ramosian.glider on 2015-07-30 09:05:31
ramosian.glider
Adding Project:AddressSanitizer as part of GitHub migration.
Reported by ramosian.glider on 2015-07-30 09:06:56
Fixed
No branches or pull requests
Originally reported on Google Code with ID 250
Reported by
konstantin.s.serebryany
on 2013-11-29 14:04:45The text was updated successfully, but these errors were encountered: