Code Monkey home page Code Monkey logo

p0tools's Introduction

Project Zero Docs and Tools

This project contains various documents published by Google Project Zero and small tools that don't need a separate GitHub project.

For individual topics, see subdirectories.

Disclaimer

This is not an official Google product.

p0tools's People

Contributors

c01db33f avatar ifratric avatar j00ru avatar maddiestone 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  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  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

p0tools's Issues

I got an error when try iOS on Mac

M1 Mac mini
macOS 11.6

> make
clang runner.c -o runner
# Replace this identity, find available certificates usign `security find-identity`
codesign -s "560DD5E3C43BCB88276E4A46407F87AF26997823" --entitlements entitlements.xml --force runner
runner: replacing existing signature
clang interpose.c -arch arm64 -o interpose.dylib -shared -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
# Can link against existing frameworks/libraries here by copying them onto ./Frameworks and adding `-F /Users/minim1/Desktop/Code/p0tools/iOSOnMac/Frameworks -framework AME_OF_FRAMEWORK -Wl,-rpath,/Users/minim1/Desktop/Code/p0tools/iOSOnMac/Frameworks
clang main.c -arch arm64 -o main -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk interpose.dylib

> ./runner main
[*] Preparing to execute iOS binary main
[+] Child process created with pid: 94407
[*] Patching child process to allow dyld interposing...
[*] _amfi_check_dyld_policy_self at offset 0x56874 in /usr/lib/dyld
task_for_pid failed. Is this binary signed and posesses the com.apple.security.cs.debugger entitlement?
[*] Sending SIGCONT to continue child
[*] Child exited with status 9


> codesign -d --entitlements - runner
Executable=/Users/minim1/Desktop/Code/p0tools/iOSOnMac/runner
��qq<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>com.apple.security.cs.debugger</key>
        <true/>
</dict>
</plist>

Trapfuzz - SIGBUS Error in Honggfuzz

Great work with the trapfuzz implementation. I was actually trying out to get the implementation running with the patch, the patch doesn't seem to work on honggfuzz latest 2.2 (API changes), so i switched to the honggfuzz repo (https://github.com/saelo/honggfuzz) by @saelo.

Now i run into SIGBUS errors, i obtained the patchpoints from ImageIO library and cross checked whether they are the correct offsets as well. I tried debugging the issue but couldn't somehow get it working. Does this have something to do with Shadow memory ?

System Configuration => MacOS : 10.15.4

The following is the error message as well:

SIGBUS.EXC_BAD_ACCESS.PC.00007fff315c09cf.STACK.00000000f1ece522.ADDR.00007fff71c0e836.fuzz' already exists, skipping

Am i doing something wrong here or missing something.

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.