MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / GetOpt

Method GetOpt

user/event/event_context.go:278–289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

276}
277
278func (this *ContextEvent) GetOpt() *UnwindOption {
279 opt := &UnwindOption{}
280 opt.RegMask = (1 << common.REG_ARM64_MAX) - 1
281 if this.mconf.Is32Bit {
282 opt.RegMask = (1 << common.REG_ARM_MAX) - 1
283 }
284 opt.ShowPC = this.mconf.ShowPC
285 opt.Abi = this.UnwindBuffer.Abi
286 opt.StackSize = this.UnwindBuffer.StackSize
287 opt.DynSize = this.UnwindBuffer.DynSize
288 return opt
289}
290
291func (this *ContextEvent) ParseContextStack() (err error) {
292 this.Stackinfo = ""

Callers 2

ParseContextStackMethod · 0.95
ParseContextStackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected