search for: pokhriy

Displaying 3 results from an estimated 3 matches for "pokhriy".

Did you mean: pokhriyal
2017 Oct 25
1
Finding the entry point function in a LLVM IR
...on what you are trying to > achieve, exactly what approach you should take (or if there is an approach > that is meaningful at all). > > On 23 October 2017 at 09:03, David Chisnall via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> On 21 Oct 2017, at 12:51, mohie pokhriyal via llvm-dev < >> llvm-dev at lists.llvm.org> wrote: >> > >> > I want to be able to find out that main is the entry point function of >> the program. >> > main and boo both do not have any predecessors or successors , such >> that I can make a cf...
2017 Oct 23
2
Finding the entry point function in a LLVM IR
...39;s of course highly dependent on what you are trying to achieve, exactly what approach you should take (or if there is an approach that is meaningful at all). On 23 October 2017 at 09:03, David Chisnall via llvm-dev < llvm-dev at lists.llvm.org> wrote: > On 21 Oct 2017, at 12:51, mohie pokhriyal via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > > > I want to be able to find out that main is the entry point function of > the program. > > main and boo both do not have any predecessors or successors , such that > I can make a cfg to figure out who’s ca...
2017 Oct 21
2
Finding the entry point function in a LLVM IR
Hi , Given the following LLVM IR : define i32 @foo(i32 %l) #0 { entry: %add = add nsw i32 %l, 3 ret i32 %add } ; Function Attrs: nounwind ssp uwtable define i32 @boo(i32 %k) #0 { entry: %call = call i32 @foo(i32 %k) ret i32 %call } ; Function Attrs: nounwind ssp uwtable define i32 @main() #0 { entry: %add = add nsw i32 1, 2 %add2 = add nsw i32 2, %add ret i32 %add2 } I want to be able