GithubHelp home page GithubHelp logo

debugger_scripts's Introduction

debugger_scripts

Simple but convenient debugger scripts for Android and iOS debugging.

Installation

Installation scripts are in lldb_utilities.py and gdb_utilities.py. Please efer to the python file.

Features

gdb

  1. display a range memory in xxd format

    xxd {addr} {size}
    
  2. search the whole memory

    This command is just like the find command in gdb: https://sourceware.org/gdb/onlinedocs/gdb/Searching-Memory.html, except that it searches in the whole valid memory mappings.

    e.g.:

    full_search /b 0xff,0xff,0xff,0xfc
    
  3. stop when library is loaded

    stop_at_load {libname}
    

    This is useful when you do an early trace that most libraries are not loaded yet. It's similar to the feature provided by IDA.

  4. stop when file is opened

    stop_at_open {filename}
    

    After the file is opened, the fd will be printed for further using.

  5. stop when file is read

    stop_at_read {fd}
    

    The fd is obtained from stop_at_open in the 4th feature.

lldb

  1. display image mapping
    imlist {image_name}
    
    A very simple feature that only display the relavant image(s) by grep after calling image list

debugger_scripts's People

Contributors

nevermoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.