backtrace snippet #vim

This commit is contained in:
iddoeldor 2019-05-26 12:46:36 +03:00 committed by GitHub
parent 94e0fd3b07
commit ec018a5171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,8 @@ Expand by writing `fridaintercept` and `<Space>`
* Add to `~/.vimrc`
```
:iabbrev fridaintercept Interceptor.attach(ptr, {<CR><Tab>onEnter: function(args) {<CR><CR>},<CR>onLeave: function(retval) {<CR><CR>}<CR><BS>})
iabbrev fridaintercept Interceptor.attach(ptr, {<CR><Tab>onEnter: function(args) {<CR><CR>},<CR>onLeave: function(retval) {<CR><CR>}<CR><BS>})
iabbrev fridabacktrace console.warn(Thread.backtrace(this.context, Backtracer.ACCURATE).map(DebugSymbol.fromAddress).join('\n'));<ESC>F(4;
```
</details>