Giter VIP home page Giter VIP logo

dt.fetchsymbols's Introduction

dt.fetchsymbols

com.apple.dt.fetchsymbols client.

build

xcrun -sdk macosx clang -F/System/Library/PrivateFrameworks -framework MobileDevice -framework CoreFoundation main.c -o fetchsymbols

usage

fetchsymbols [Options]

Options:

-l - List available files.

-f n path - Download file with index n to path 'path'.

-c path - Download dyld shared cache to path 'path'.

-C arch path - Download dyld shared cache for architecture 'arch' to path 'path'.

-d path - Download /usr/lib/dyld to path 'path'.

-h - Display this message.

dt.fetchsymbols's People

Contributors

realnp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dt.fetchsymbols's Issues

Your iOS device needs a mounted developer image to use this tool.

Last login: Sat Apr  9 23:40:09 on ttys005
/Users/KittenYang/Documents/Github-repos/dt.fetchsymbols/fetchsymbols ; exit;
~|⇒ /Users/KittenYang/Documents/Github-repos/dt.fetchsymbols/fetchsymbols ; exit;

[*] DTFetchSymbols client v1.1
 Your iOS device needs a mounted developer image to
 use this tool.

 Options:
  -l           -  List available files.
  -f n path    -  Download file with index n to path 'path'.
  -c path      -  Download dyld shared cache to path 'path'.
  -C arch path -  Download dyld shared cache for architecture 'arch' to path 'path'.
  -d path      -  Download /usr/lib/dyld to path 'path'.
  -h           -  Display this message.

[进程已完成]

I blocked at this step and had straggled for a long time,but it turned out failed.Can you tell me where to go and what's wrong with it?

Missing O_CREAT

Im being lazy so I dont feel like doing a pull request. You are missing an O_CREAT on the file opening which causes issues creating files on OSX. Heres the patch:

diff --git a/main.c b/main.c
index b54d850..f23e225 100644
--- a/main.c
+++ b/main.c
@@ -141,7 +141,7 @@ void getFileCommand(uint32_t index, const char *path) {
                             chmod(path, S_IROTH | S_IRGRP | S_IWUSR | S_IRUSR);
                         }
                         else
-                            file = open(path, O_RDWR);
+                            file = open(path, O_RDWR | O_CREAT);

                         if (file >= 0) {
                             /*

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.