search for: sogun3

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

Did you mean: segun
2018 Apr 01
2
Custom Binary Format Challenges
...it as an argument to the function that calculates an ordinal from it. I think that there must be some way to use the bitcode language to place byte values at a designated offset. Or use the command line to specify the section and offset for the data. On Sun, Apr 1, 2018 at 6:00 PM, Brenda So <sogun3 at gmail.com> wrote: > Hi Kenneth, > > Can you elaborate what you mean by instruction pointer value? Like the > actual instruction with opcode and operands? With the sample code that I > showed you, the instrucrtion pointer in the innermost for loop will have > access to the f...
2018 Apr 02
1
Custom Binary Format Challenges
...n ordinal from it. >> >> I think that there must be some way to use the bitcode language to place >> byte values at a designated offset. Or use the command line to specify the >> section and offset for the data. >> >> On Sun, Apr 1, 2018 at 6:00 PM, Brenda So <sogun3 at gmail.com> wrote: >> >>> Hi Kenneth, >>> >>> Can you elaborate what you mean by instruction pointer value? Like the >>> actual instruction with opcode and operands? With the sample code that I >>> showed you, the instrucrtion pointer in the i...
2018 Apr 02
0
Custom Binary Format Challenges
...nction that calculates an ordinal from it. > > I think that there must be some way to use the bitcode language to place > byte values at a designated offset. Or use the command line to specify the > section and offset for the data. > > On Sun, Apr 1, 2018 at 6:00 PM, Brenda So <sogun3 at gmail.com> wrote: > >> Hi Kenneth, >> >> Can you elaborate what you mean by instruction pointer value? Like the >> actual instruction with opcode and operands? With the sample code that I >> showed you, the instrucrtion pointer in the innermost for loop will h...
2018 Apr 01
2
Custom Binary Format Challenges
Thank you so much! What about discovering the instruction pointer value? Also, does anybody know how to embed an artifact as a resource in a binary? I'd like to have two text sections, and have one copied in from another binary. On Sun, Apr 1, 2018 at 2:15 PM, Brenda So <sogun3 at gmail.com> wrote: > Hi, > > You can write it as if you are writing an optimization pass: > http://llvm.org/docs/ProgrammersManual.html > > It sounds like your highest level is a module, hence you should write a > module pass. There is example code on LLVM Programmer'...
2018 Apr 01
0
Custom Binary Format Challenges
...uch! > > What about discovering the instruction pointer value? > Also, does anybody know how to embed an artifact as a resource in a > binary? I'd like to have two text sections, and have one copied in from > another binary. > > On Sun, Apr 1, 2018 at 2:15 PM, Brenda So <sogun3 at gmail.com> wrote: > >> Hi, >> >> You can write it as if you are writing an optimization pass: >> http://llvm.org/docs/ProgrammersManual.html >> >> It sounds like your highest level is a module, hence you should write a >> module pass. There is exam...
2018 Apr 01
0
Custom Binary Format Challenges
Hi, You can write it as if you are writing an optimization pass: http://llvm.org/docs/ProgrammersManual.html It sounds like your highest level is a module, hence you should write a module pass. There is example code on LLVM Programmer's Manual on how to do a function pass: Function* targetFunc = ...; class OurFunctionPass : public FunctionPass { public: OurFunctionPass():
2018 Apr 01
2
Custom Binary Format Challenges
Hello, I hope you are all doing well and thanks in advance. I need to program a transformation of a set of llvm bitcode to have some various techniques woven in. In particular, I need to resolve a given computed target address to one of several in the same way that the function of a dynamic library is resolved, but I need this resolution to happen in the binary target of my choice where I tell