Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Dec 20, 2011
  1. cleaned up warnings

    authored
Commits on Dec 19, 2011
  1. updated project settings

    authored
Commits on Nov 9, 2011
  1. @rentzsch

    Merge pull request #26 from ashcatch/pending_pull_requests

    rentzsch authored
    add another 64bit instruction
Commits on Nov 2, 2011
  1. @ashcatch

    add another 64bit instruction

    ashcatch authored
    I got this when trying to overwrite a symbol in a 64bit Qt 4.6.1 build.
Commits on Oct 12, 2011
  1. @rentzsch

    Merge pull request #22 from lapcat/master

    rentzsch authored
    A few fixes, including compatibility with Rogue Amoeba's Instant On.
Commits on Oct 10, 2011
  1. @lapcat

    Allow mach_override to patch and relocate code that has already been …

    lapcat authored
    …patched or might otherwise contain relative jmp instructions. This fixes incompatibility with Rogue Amoeba's Instant On component.
  2. @lapcat
  3. @lapcat

    Comment out testSystemFunctionOverrideByName, because it doesn't comp…

    lapcat authored
    …ile. It looks like it's based on obsolete code.
Commits on Sep 22, 2011
  1. @rentzsch

    Merge pull request #19 from mark-chromium/mach_star

    rentzsch authored
    ---
    
    Go back to pre-51ae3d199463fa84548f466d649f0821d579fdaf branch islands for PowerPC. Because PowerPC uses ba (branch absolute) to jump to branch islands, the islands must be somewhere in the lowest or highest 32MB of address space.
  2. @rentzsch

    Merge pull request #18 from albertz/mach_star

    rentzsch authored
    ---
    
    Some cleanup (better suited for production use).
    Some additions.
    Also to stderr instead of stdout.
    
    Not sure if you want to merge this (or how you think about such changes). Those are just my changes I have laying around here. I think I also will comment out my additions later on (because it works good now for me) and maybe you want to wait for that before merging.
  3. @rentzsch

    Merge pull request #17 from albertz/mach_star

    rentzsch authored
    ---
    
    mostly Xcode4 related
  4. @rentzsch

    Merge pull request #16 from albertz/mach_star

    rentzsch authored
    ---
    
    xcuserdata is the new dir for user data in Xcode projects (when opened in Xcode4)
  5. @rentzsch

    Merge pull request #15 from albertz/mach_star

    rentzsch authored
    ---
    
    see bug #11
    
    Im not sure if you want to merge this already. But this is what works on 10.7, so maybe it is better to have this in right now (with this comment or some other comment) and add some further code later on if there are problems for other people.
  6. @rentzsch

    Merge pull request #14 from albertz/mach_star

    rentzsch authored
    ---
    
    this is bug #13
  7. @mark-chromium

    Go back to pre-51ae3d199463fa84548f466d649f0821d579fdaf branch island…

    mark-chromium authored
    …s for PowerPC. Because PowerPC uses ba (branch absolute) to jump to branch islands, the islands must be somewhere in the lowest or highest 32MB of address space.
Commits on Sep 17, 2011
  1. @albertz
  2. @albertz
  3. @albertz
  4. @albertz
  5. @albertz

    updated Xcode project

    albertz authored
  6. @albertz

    gitignore: Xcode4 files

    albertz authored
  7. @albertz
  8. @albertz
Commits on Aug 19, 2011
  1. @rentzsch

    Merge pull request #10 from rsesek/malloc_error_break_10-5

    rentzsch authored
    [NEW] Allow mach_override to patch empty function bodies. (Robert Sesek)
  2. @rsesek

    Allow mach_override to patch empty function bodies.

    rsesek authored
    On 10.5, malloc_error_break is a whopping five instructions long:
    0x01e314ae <malloc_error_break+0>:      push   %ebp
    0x01e314af <malloc_error_break+1>:      mov    %esp,%ebp
    0x01e314b1 <malloc_error_break+3>:      leave
    0x01e314b2 <malloc_error_break+4>:      ret
    
    If you want to patch this, the normal facilities by which mach_override works
    will not hook this because it does not eat leave/ret, for good reason.
    
    This adds the whole body of the above assembly to the beginning of
    possibleInstructions so that if you override a method like this, it succeeds.
    
    On 10.6 and 10.7, the assembly has changed to include two nop instructions,
    making it large enough to override.
  3. @rentzsch

    Merge pull request #9 from rsesek/fprint-stderr

    rentzsch authored
    [CHANGE] Print errors in mach_override to stderr rather than stdout. (Robert Sesek)
Commits on Aug 18, 2011
  1. @rsesek

    Print errors in mach_override to stderr rather than stdout, and inclu…

    rsesek authored
    …de the __FILE__ to make the source clear.
Commits on Jul 25, 2011
  1. @rentzsch

    Merge pull request #8 from sdem/master

    rentzsch authored
    fixes mach_override.c for overriding AudioOutputUnitStart() and other functions in Lion (32/64).
  2. @sdem

    This addresses overriding such functions as AudioOutputUnitStart() in…

    sdem authored
    … Lion. There seems to be some double indirection before getting to the actual function.
    
    In 32 bits: jmp .+0x???????? then jmp *0x????????
    In 64 bits: jmp .+0x???????? then jmp qword near [rip+0x????????]
    The fix works for both 32 and 64 bits.
    This could be addressed outside of mach_star, but then it would not be possible to use the MACH_OVERRIDE macro.
    Also, small (potential) bug fix: try making islands executable *before* planting the jmp.
  3. @sdem
Commits on Jul 22, 2011
  1. @rentzsch
Commits on Jul 13, 2011
  1. @rentzsch
Commits on Jun 25, 2011
  1. @rentzsch

    Merge pull request #5 from mkrautz/vm-protect-size

    rentzsch authored
    Change size of region in vm_protect calls to be 8.
Something went wrong with that request. Please try again.