Skip to content

Instantly share code, notes, and snippets.

@ikitayama
Created April 6, 2017 22:53
Show Gist options
  • Select an option

  • Save ikitayama/6ea27b6fc955850b13cf3982eb49dd8b to your computer and use it in GitHub Desktop.

Select an option

Save ikitayama/6ea27b6fc955850b13cf3982eb49dd8b to your computer and use it in GitHub Desktop.
#0 EmitterAARCH64::emitCall (this=0xffffb7f99040 <AddressSpace::getEmitter()::emitter64Dyn>, op=callOp, gen=...,
operands=std::vector of length 3, capacity 4 = {...}, noCost=false, callee=0x6a13300)
at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/emit-aarch64.C:82
#1 0x0000ffffb7e6272c in AstCallNode::generateCode_phase2 (this=0x6a13270, gen=..., noCost=<optimized out>, retReg=@0xffffffffe69c: 4294967295)
at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/ast.C:2136
#2 0x0000ffffb7e5ebb0 in AstNode::generateCode (this=0x6a13270, gen=..., noCost=<optimized out>, retAddr=@0xffffffffe6a0: 0,
retReg=@0xffffffffe69c: 4294967295) at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/ast.C:736
#3 0x0000ffffb7ebe6fc in AstNode::generateCode (retReg=@0xffffffffe70c: 0, noCost=false, gen=..., this=<optimized out>)
at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/ast.h:282
#4 PCProcess::postIRPC (this=this@entry=0x5b53b0, action=..., userData=userData@entry=0x0, runProcessWhenDone=runProcessWhenDone@entry=false,
thread=thread@entry=0x0, synchronous=synchronous@entry=true, result=0xffffffffe860, result@entry=0xffffffffe8a0, userRPC=userRPC@entry=false,
isMemAlloc=isMemAlloc@entry=true, addr=addr@entry=0) at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/dynProcess.C:1946
#5 0x0000ffffb7ec05a8 in PCProcess::inferiorMallocDynamic (this=this@entry=0x5b53b0, size=size@entry=1048576, lo=<optimized out>, hi=<optimized out>)
at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/dynProcess.C:1748
#6 0x0000ffffb7ec0a54 in PCProcess::inferiorMalloc (this=0x5b53b0, size=<optimized out>, type=anyHeap, near_=<optimized out>, err=0x0)
at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/dynProcess.C:1673
#7 0x0000ffffb7e76464 in AddressSpace::generateCode (this=this@entry=0x5b53b0, cm=..., nearTo=nearTo@entry=4195458)
at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/addressSpace.C:1951
#8 0x0000ffffb7e7cac8 in AddressSpace::relocateInt (this=this@entry=0x5b53b0, begin=, end=end@entry=, nearTo=4195458)
at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/addressSpace.C:1765
#9 0x0000ffffb7e7d648 in AddressSpace::relocate (this=this@entry=0x5b53b0)
at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/addressSpace.C:1721
#10 0x0000ffffb7f085a0 in Dyninst::PatchAPI::DynInstrumenter::run (this=<optimized out>)
at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/Relocation/DynInstrumenter.C:54
#11 0x0000ffffb76edff4 in Dyninst::PatchAPI::Patcher::run (this=0x4f70d0) at /home/itaru.kitayama/projects/dyninst/patchAPI/src/Command.C:113
#12 0x0000ffffb76ed524 in Dyninst::PatchAPI::Command::commit (this=0x4f70d0) at /home/itaru.kitayama/projects/dyninst/patchAPI/src/Command.C:54
#13 0x0000ffffb7e2d6c8 in BPatch_process::finalizeInsertionSet (this=0x47f260)
at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/BPatch_process.C:818
#14 0x0000ffffb7e4c23c in BPatch_addressSpace::insertSnippet (this=0x47f260, expr=..., points=std::vector of length 1, capacity 1 = {...},
when=BPatch_callUnset, order=BPatch_firstSnippet) at /home/itaru.kitayama/projects/dyninst/dyninstAPI/src/BPatch_addressSpace.C:969
#15 0x00000000004023c0 in createAndInsertSnippet (app=0x47f260, points=0x48d000) at inst_f.C:74
#16 0x000000000040295c in main () at inst_f.C:155
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment