insert_dylib | Command line utility for inserting a dylib load | Command Line Interface library

 by   Tyilo C Version: Current License: No License

kandi X-RAY | insert_dylib Summary

kandi X-RAY | insert_dylib Summary

insert_dylib is a C library typically used in Utilities, Command Line Interface, Xcode applications. insert_dylib has no bugs, it has no vulnerabilities and it has medium support. You can download it from GitHub.

Command line utility for inserting a dylib load command into a Mach-O binary.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              insert_dylib has a medium active ecosystem.
              It has 1199 star(s) with 239 fork(s). There are 56 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 6 have been closed. On average issues are closed in 292 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of insert_dylib is current.

            kandi-Quality Quality

              insert_dylib has 0 bugs and 0 code smells.

            kandi-Security Security

              insert_dylib has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              insert_dylib code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              insert_dylib does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              insert_dylib releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of insert_dylib
            Get all kandi verified functions for this library.

            insert_dylib Key Features

            No Key Features are available at this moment for insert_dylib.

            insert_dylib Examples and Code Snippets

            No Code Snippets are available at this moment for insert_dylib.

            Community Discussions

            QUESTION

            Inject ObjectiveC-Swift hook in resigned ipa, for writing the hook mainly in Swift rather than in Objective C
            Asked 2021-Feb-19 at 11:33

            I am trying to hook a function of a target binary on a non-jailbroken device.

            It actually works in Objective C. I simply add my own dylib to the binary of the ipa, as it is usual (insert_dylib), and do my swizzling.

            Now when I hook the function I'd like to pass the data to Swift and process the data using Swift.

            I imported Swift into ObjC using the standard tutorial and this gives no problems.

            If I inject the library into the ipa, the ipa works as long my Swift function is not called. When it is called, the app freezes. (It does not print the log that would be printed as soon as the function starts).

            My feel is that the library does not "connect to the swift runtime", perhaps it should call some swift initialization?.

            Note that the hooked app already uses swift. In fact, otool -L, shows:

            ...

            ANSWER

            Answered 2021-Feb-19 at 11:33

            I found a solution: my library was built as a sub-target of another project. This generated a .dylib not really suitable for other binaries. So, I created another framework-project just for this library, I injected the library and it worked, without an additional steps (e.g. optool, install_name_tool, etc...).

            The hint that led me to the right way was this crash:

            Source https://stackoverflow.com/questions/66264992

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install insert_dylib

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Tyilo/insert_dylib.git

          • CLI

            gh repo clone Tyilo/insert_dylib

          • sshUrl

            git@github.com:Tyilo/insert_dylib.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Command Line Interface Libraries

            ohmyzsh

            by ohmyzsh

            terminal

            by microsoft

            thefuck

            by nvbn

            fzf

            by junegunn

            hyper

            by vercel

            Try Top Libraries by Tyilo

            macho_edit

            by TyiloC++

            asm_repl

            by TyiloC

            get_aslr

            by TyiloC

            kextd_patcher

            by TyiloPython

            inject_dylib

            by TyiloC