search for: visibililty

Displaying 7 results from an estimated 7 matches for "visibililty".

2016 Feb 29
0
Possible soundness issue with available_externally (split from "RFC: Add guard intrinsics")
...ult), and thus, this > is okay. We also don't model the possibility of someone hex-editing the > binary ;) > I'm not really okay with it; the current behavior feels unprincipled. We have a visibility attribute which can be used to control this: On ELF systems, "default" visibililty allows interposition (unlike on Darwin) -- that is, it explicitly ALLOWS for replacing the symbol's definition. The policy of "You can't replace the definition of the symbol, but it is globally visible" is exactly what the "protected" visibility mode is for. If we want...
2016 Feb 27
2
Possible soundness issue with available_externally (split from "RFC: Add guard intrinsics")
----- Original Message ----- > From: "James Y Knight via llvm-dev" <llvm-dev at lists.llvm.org> > To: "Sanjoy Das" <sanjoy at playingwithpointers.com> > Cc: "llvm-dev" <llvm-dev at lists.llvm.org> > Sent: Thursday, February 25, 2016 1:41:43 PM > Subject: Re: [llvm-dev] Possible soundness issue with > available_externally (split
2016 Feb 29
4
Possible soundness issue with available_externally (split from "RFC: Add guard intrinsics")
..., this is okay. We also don't model the possibility of > > someone hex-editing the binary ;) > > I'm not really okay with it; the current behavior feels unprincipled. > We have a visibility attribute which can be used to control this: On > ELF systems, "default" visibililty allows interposition (unlike on > Darwin) -- that is, it explicitly ALLOWS for replacing the symbol's > definition. The policy of "You can't replace the definition of the > symbol, but it is globally visible" is exactly what the "protected" > visibility mode...
2016 Nov 29
0
RFC: Add an "interposible" linkage type (and implement -fsemantic-interposition)
...f > > > someone hex-editing the binary ;) > > > > > I'm not really okay with it; the current behavior feels > > unprincipled. > > > We have a visibility attribute which can be used to control this: > > On > > ELF systems, "default" visibililty allows interposition (unlike on > > Darwin) -- that is, it explicitly ALLOWS for replacing the symbol's > > definition. The policy of "You can't replace the definition of the > > symbol, but it is globally visible" is exactly what the "protected" > &...
2016 Nov 29
4
RFC: Add an "interposible" linkage type (and implement -fsemantic-interposition)
...ay. We also don't model the possibility of someone hex-editing >> the binary ;) >> > > I'm not really okay with it; the current behavior feels unprincipled. > > We have a visibility attribute which can be used to control this: On ELF > systems, "default" visibililty allows interposition (unlike on Darwin) -- > that is, it explicitly ALLOWS for replacing the symbol's definition. The > policy of "You can't replace the definition of the symbol, but it is > globally visible" is exactly what the "protected" visibility mode is fo...
2016 Nov 30
2
RFC: Add an "interposible" linkage type (and implement -fsemantic-interposition)
...ay. We also don't model the possibility of someone hex-editing >> the binary ;) >> > > I'm not really okay with it; the current behavior feels unprincipled. > > We have a visibility attribute which can be used to control this: On ELF > systems, "default" visibililty allows interposition (unlike on Darwin) -- > that is, it explicitly ALLOWS for replacing the symbol's definition. The > policy of "You can't replace the definition of the symbol, but it is > globally visible" is exactly what the "protected" visibility mode is fo...
2016 Nov 29
2
RFC: Add an "interposible" linkage type (and implement -fsemantic-interposition)
...eels > > > > > unprincipled. > > > > > > > > > > > > > > > We have a visibility attribute which can be used to control > > > > > this: > > > > > On > > > > > ELF systems, "default" visibililty allows interposition > > > > > (unlike > > > > > on > > > > > Darwin) -- that is, it explicitly ALLOWS for replacing the > > > > > symbol's > > > > > definition. The policy of "You can't replace the definition &...