search for: dynamicallocalayout

Displaying 4 results from an estimated 4 matches for "dynamicallocalayout".

2015 Nov 12
4
Fwd: asan for allocas on powerpc64
...this (paraphrasing from lib/Transfoms/Instrumentation/AddressSanitizer.cpp): // call __asan_allocas_unpoison(uptr top, uptr bottom); // NB "top" here means lowest address and "bottom" means highest! IRB.CreateCall( AsanAllocasUnpoisonFunc, { IRB.CreateLoad(DynamicAllocaLayout), IRB.CreatePointerToInt(SaveRestoreInst->getOperand(0), IntptrTy) } ); I think the problem is that the operand to stackrestore is the new native sp register value to restore, and this code is assuming that that will be a higher address than all the allocas that are being unallocate...
2015 Nov 17
3
asan for allocas on powerpc64
...Sanitizer.cpp): > > // call __asan_allocas_unpoison(uptr top, uptr bottom); > // NB "top" here means lowest address and "bottom" means highest! > > IRB.CreateCall( > AsanAllocasUnpoisonFunc, > { > IRB.CreateLoad(DynamicAllocaLayout), > IRB.CreatePointerToInt(SaveRestoreInst->getOperand(0), IntptrTy) > } > ); > > I think the problem is that the operand to stackrestore is the new > native sp register value to restore, and this code is assuming that > that will be a higher ad...
2015 Nov 23
2
asan for allocas on powerpc64
...s_unpoison(uptr top, uptr bottom); >>> // NB "top" here means lowest address and "bottom" means highest! >>> >>> IRB.CreateCall( >>> AsanAllocasUnpoisonFunc, >>> { >>> IRB.CreateLoad(DynamicAllocaLayout), >>> IRB.CreatePointerToInt(SaveRestoreInst->getOperand(0), IntptrTy) >>> } >>> ); >>> >>> I think the problem is that the operand to stackrestore is the new >>> native sp register value to restore, and this co...
2015 Nov 23
2
asan for allocas on powerpc64
..."top" here means lowest address and "bottom" means >>>>> highest! >>>>> >>>>> IRB.CreateCall( >>>>> AsanAllocasUnpoisonFunc, >>>>> { >>>>> IRB.CreateLoad(DynamicAllocaLayout), >>>>> IRB.CreatePointerToInt(SaveRestoreInst->getOperand(0), IntptrTy) >>>>> } >>>>> ); >>>>> >>>>> I think the problem is that the operand to stackrestore is the new >>>>>...