macho_edit | Command line utility for modifying Mach | Reverse Engineering library

 by   Tyilo C++ Version: Current License: MIT

kandi X-RAY | macho_edit Summary

kandi X-RAY | macho_edit Summary

macho_edit is a C++ library typically used in Utilities, Reverse Engineering applications. macho_edit has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Command line utility for modifying [Mach-O] binaries in various ways. To remove the code signature it is enough to delete the LC_CODE_SIGNATURE load command and fixup the mach header’s ncmds and sizeofcmds, assuming it is the last load command.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              macho_edit has a low active ecosystem.
              It has 135 star(s) with 35 fork(s). There are 8 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 1 have been closed. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of macho_edit is current.

            kandi-Quality Quality

              macho_edit has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              macho_edit is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              macho_edit 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 macho_edit
            Get all kandi verified functions for this library.

            macho_edit Key Features

            No Key Features are available at this moment for macho_edit.

            macho_edit Examples and Code Snippets

            No Code Snippets are available at this moment for macho_edit.

            Community Discussions

            QUESTION

            codesign an old Director projector on OS X 10.13 - perhaps manipulate __LINKEDIT segment value
            Asked 2019-Aug-05 at 09:10

            (See Updates at end of this post)

            For $reasons, I need to codesign an old Director projector that we can no longer re-publish (no access to original source code or to Director).

            I'm doing this because when run without being signed, the app now opens a Finder window with a prompt saying "Where is..." asking for a file that's one of the embedded projector resources.

            But... If I cd into the Projector.app contents (it's not really called that, but you get the idea) and find the projector binary inside Contents/MacOS/ and run this binary from terminal, the app launches and runs fine, once it's decompressed the (presumably) attached archive at the end of the binary...

            ...

            ANSWER

            Answered 2018-Feb-28 at 11:00

            DIrector uses a scheme widely used on Windows called "Overload". I attaches some data at the end of the physical file, but beyond the size of the executable image. This approach is not supported with Mach-O files. The physical image has to end with the last byte covered by the LINKEDIT segment, and even the order of items inside the LINKEDIT segment is well defined. Reason for this was prebinding in the past, now it is codesigning.

            The appended data is the initial DIR/DXR Directory wants to load first. I guess this has been fixed later by adding the DIR/DXR into the application bundle. But I am not anymore into Director, so I am not sure about this.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install macho_edit

            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/macho_edit.git

          • CLI

            gh repo clone Tyilo/macho_edit

          • sshUrl

            git@github.com:Tyilo/macho_edit.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

            Explore Related Topics

            Consider Popular Reverse Engineering Libraries

            ghidra

            by NationalSecurityAgency

            radare2

            by radareorg

            ILSpy

            by icsharpcode

            bytecode-viewer

            by Konloch

            ImHex

            by WerWolv

            Try Top Libraries by Tyilo

            insert_dylib

            by TyiloC

            asm_repl

            by TyiloC

            get_aslr

            by TyiloC

            kextd_patcher

            by TyiloPython

            inject_dylib

            by TyiloC