Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threadless Base #137

Draft
wants to merge 164 commits into
base: develop
Choose a base branch
from
Draft

Threadless Base #137

wants to merge 164 commits into from

Commits on Aug 29, 2020

  1. TrainerManager work

    kuser committed Aug 29, 2020
    Configuration menu
    Copy the full SHA
    f3f626d View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2020

  1. Move dynlib structs to header file

    Add TrainerManager to Mira startup
    Add OrbisOS::Utilities::MountInSandbox
    Add shm functions to syswrappers
    
    Change CtrlDriver to use the new MountInsandbox util
    
    Fix substitute build errors
    
    Remove MiraShm debug functions
    kuser committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    7847c05 View commit details
    Browse the repository at this point in the history
  2. Fix module_load name

    kuser committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    e435fe2 View commit details
    Browse the repository at this point in the history
  3. More usability fixes

    kuser committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    a8cd9b8 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2020

  1. Fix bug reported by LM

    NOTE: GetThreadCredentials now accepts <= 0 as "current thread"
    kuser committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    50b02cb View commit details
    Browse the repository at this point in the history
  2. Fix ioctl return values

    kuser committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    3c7f186 View commit details
    Browse the repository at this point in the history
  3. More bugfixes

    kuser committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    a0ad668 View commit details
    Browse the repository at this point in the history
  4. Remove dead code

    kuser committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    86f32a4 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2020

  1. Add updated SceAuthId (from LM)

    Add updated image_params struct (from ChendoChap)
    Add output sandboxed path to OrbisOS::Utilities::MountInSandbox
    
    Fix dynlib_load_prx_args
    Fix kdynlib_load_prx_t in SysWrappers
    Fix memory usage in ThreadInjection function (was blowing the stack)
    Fix bug in MountInSandbox using the wrong thread for reading vn_fullpath
    
    Remove framework from eventhandlers
    kuser committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    3dac8ab View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2020

  1. Update

    kuser committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    7eaca25 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2020

  1. Add MiraConfig

    Rename Morpheus/RemotePlayEnabler to *Activator
    kuser committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    a1e1eeb View commit details
    Browse the repository at this point in the history
  2. Fucc protobuf

    kuser committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    f5d6533 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2020

  1. Add clang-format to the preinstall for CI

    kuser committed Sep 27, 2020
    Configuration menu
    Copy the full SHA
    eebf6bd View commit details
    Browse the repository at this point in the history
  2. Add Get/SetConfiguration to Mira::Framework

    Add Get/SetConfig to the device driver
    kuser committed Sep 27, 2020
    Configuration menu
    Copy the full SHA
    eb71ac2 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2020

  1. Add contribution guide

    kuser committed Sep 28, 2020
    Configuration menu
    Copy the full SHA
    f7c3b66 View commit details
    Browse the repository at this point in the history
  2. Fix initialization and termination order

    Update contribution.md
    kuser committed Sep 28, 2020
    Configuration menu
    Copy the full SHA
    197c8a1 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2020

  1. Add ThreadId logging for testing

    kuser committed Oct 12, 2020
    Configuration menu
    Copy the full SHA
    d3ef9c8 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2020

  1. Fix core suspend/resume

    Add ability to send sysVerif to hell
    
    Enable sceSblACMgrGetPathId hook
    kuser committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    8f395af View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2020

  1. Remove protobuf

    kuser committed Oct 24, 2020
    Configuration menu
    Copy the full SHA
    ab9baf3 View commit details
    Browse the repository at this point in the history
  2. Add Write/ReadProcessMemory IOCTL numbers

    Cleanup some CtrlDriver code
    Remove Substitute2
    kuser committed Oct 24, 2020
    Configuration menu
    Copy the full SHA
    a130e69 View commit details
    Browse the repository at this point in the history
  3. Add auto-embedding Mira build ELF

    kuser committed Oct 24, 2020
    Configuration menu
    Copy the full SHA
    6a69a77 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2020

  1. Fix shutdown state

    kuser committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    0bba58c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81ac2cf View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2020

  1. Re-enable the trainer manager, ctrldriver, substitute

    Re-enable eventhandlers
    
    Add mutex to CtrlDriver to protect data
    Add Add,Remove,GetEntryPoint to CtrlDriver
    Add OnSvFixup to TrainerManager
    Add injectable stub
    
    Remove old debug code in TrainerManager
    
    Disable Substitute syscall hook
    Disable TrainerManager::OnProcessExecEnd in favor of sv_fixup hook
    kuser committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    7f5a297 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. Prepare stub

    kuser committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    4eea580 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2020

  1. Move CtrlDriver enums and cmds to it's own file

    Change trainer_loader to be cpp
    kuser committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    9ecf3cd View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2020

  1. Fix compiler errors

    kiwidoggie committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    5db3800 View commit details
    Browse the repository at this point in the history
  2. Attempt crash

    kiwidoggie committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    cf62031 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2020

  1. Add build dependency on trainer_loader to Mira

    Add trainer_loader payload embed
    kiwidoggie committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    4aa04f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2021

  1. Silence noisy print statement

    Switch from mmap/mprotect to vm_map modifications
    
    Add AllocateProcessMemory to manually add a new vm_map slice
    Add missing 6.72 offsets
    kiwidoggie committed Jan 2, 2021
    Configuration menu
    Copy the full SHA
    d00bb4b View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2021

  1. Implement trainer payload execution

    Fix BSD structures (Credits: ChendoChap)
    Fix kernel trainer_loader embed in Makefile
    Fix TrainerManaager::AllocateProcessMemory for using incorrect map
    Fix incorrect logic in trainer_loader
    
    Remove re-implementation of _vm_map_lock
    kiwidoggie committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    70924c4 View commit details
    Browse the repository at this point in the history
  2. Fix loader logic again

    kiwidoggie committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    c99d5d6 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2021

  1. Change DriverCmds to have reserved sections

    Remove OnProcessExecEnd from TrainerManager
    kiwidoggie committed Jan 9, 2021
    Configuration menu
    Copy the full SHA
    e0f67bb View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2021

  1. Fix overflow issue in MiraIoctlCmds (thanks CC)

    Move proc OEP management to TrainerManager
    
    Rename InjectTrainerManager to AllocateTrainerManager
    kiwidoggie committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    97656d4 View commit details
    Browse the repository at this point in the history
  2. Add debugger trainer prx

    kiwidoggie committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    561b19d View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2021

  1. Change TrainerManager::GetUsbTrainerPath to not allocate new memory

     Add override to TrainerManager::DirectoryExists that takes the thread to use for iteration
    kiwidoggie committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    9b33518 View commit details
    Browse the repository at this point in the history
  2. Fix VSCode defines/include paths for trainer_loader

    Fix SceAuthenticationId/SceCapabilites not being defined without _KERNEL
    Fix define/include paths for trainer_loader Makefile
    
    Change LoadTrainers to take a thread instead of proc
    
    Remove IterateDirectory as it's been moved to trainer_loader
    
    HACK: hardcode title id to playroom (CUSA00001)
    
    Skip adding dlsym to proc if _KERNEL is not defined
    
    Add mounting /mnt/usbN/mira/trainers/_mira to /_mira in sandbox
    Add mounting /mnt/usbN/mira/trainers/TITLEID in sandbox
    Add IterateDirectory as well as dlsym resolving to trainer_loader
    kiwidoggie committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    5bd8f6d View commit details
    Browse the repository at this point in the history
  3. Fix app crash due to trainers failing to load

    Fix crash due to non-initialized lock in TrainerManager
    
    Remove TrainerManager::ThreadInjection
    Remove TrainerManager::PayloadInjection
    Remove TrainerManager::OnSomethingOrAnother
    
    Remove process locking on TrainerManager::AllocateProcessMemory
    
    Clean up and fix substitute (NOTE BUG: there are still issues)
    kiwidoggie committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    9f364a0 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2021

  1. Rename Debugger2

    Fix entry point name for loader
    kiwidoggie committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    733ebca View commit details
    Browse the repository at this point in the history
  2. THE PURGE

    kiwidoggie committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    bd00237 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. Move Substitute defines to external for use in kernel and userland

    Add entrypoints for v1 trainer api
    Add function callbacks for common use in v1 trainer api
    
    Rename debugger project to mira_module for a common mira prx
    kiwidoggie committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    e3d37d5 View commit details
    Browse the repository at this point in the history
  2. Implement ChendoChaps dynlib structures

    Cleanup Substitute::FindJmpSlotAddress
    
    Fix forward declaration of mtx_owned in FreeBSD headers
    kiwidoggie committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    275bc9a View commit details
    Browse the repository at this point in the history
  3. Fix build errors

    Correct syscalls for trainer_loader
    kiwidoggie committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    8533d53 View commit details
    Browse the repository at this point in the history
  4. Add file structure fix

    kiwidoggie committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    bb8bee2 View commit details
    Browse the repository at this point in the history
  5. Fix FreeBSD structures

    Fix eventhandler_register calls on > 5.50
    kiwidoggie committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    6060ec4 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2021

  1. Fix some substitute bug & add 5.05 offsets

    TheoryWrong committed Jan 31, 2021
    Configuration menu
    Copy the full SHA
    d0a28bb View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2021

  1. Change MiraRead/WriteProcessMemory to use StructureSize to calculate …

    …read/write size.
    
    Change Utilities::ProcessReadWriteMemory to return positive error values for use in Ioctl's.
    
    Fix nullptr deref in CtrlDriver::OnIoctl
    Fix FakePkgManager ProcessReadWriteMemory calls
    
    Implement Read/WriteProcessMemory ioctls
    Implement local Debugger buffer for R/WPM.
    
    Disable Substitute for moving to user mode.
    kiwidoggie committed Feb 17, 2021
    Configuration menu
    Copy the full SHA
    8fe89e8 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2021

  1. Update Daemon to be built on PC for faster debugging

    Add refactored orbisLibGen code (will remove later, is temp)
    
    Fix daemon build errors
    kiwidoggie committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    39fa939 View commit details
    Browse the repository at this point in the history
  2. Kill flatbuffers

    kiwidoggie committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    3cf99b4 View commit details
    Browse the repository at this point in the history
  3. Add grpc protobuf

    kiwidoggie committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    87d6cdd View commit details
    Browse the repository at this point in the history
  4. Won't link, don't care needs correct libprotobuf for what version the…

    … files were generated with, will fix later. going zzz
    kiwidoggie committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    168c9b5 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2021

  1. Configuration menu
    Copy the full SHA
    647c5c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5021b9 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2021

  1. Configuration menu
    Copy the full SHA
    14cc6d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2e6550 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2021

  1. Add Logger to replace the errors

    Add Debugger protobuf file
    Add OrbisService.GetConsoleInfo gRPC endpoint
    Add Rpc protobuf files
    Add MiraModule::Utils header (pending impl)
    Add implementation plans for Substitute v2
    
    Implement Rpc::Connection
    Implement gRPC FileManagerImpl (currently disabled)
    Implement FileManagerListener (old style rpc + protobuf)
    Implement Rpc::Manager (should be 100% thread safe?)
    kiwidoggie committed Mar 14, 2021
    Configuration menu
    Copy the full SHA
    5d506d3 View commit details
    Browse the repository at this point in the history
  2. Remove unneeded dependencies

    Remove gRPC RPC
    
    Fix reference bug with connections
    kiwidoggie committed Mar 14, 2021
    Configuration menu
    Copy the full SHA
    c41ee4a View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2021

  1. Change the cc1 flags for daemon

    Implement FileManagerListener
    kiwidoggie committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    04938f5 View commit details
    Browse the repository at this point in the history
  2. My message

    TheoryWrong committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    c05581e View commit details
    Browse the repository at this point in the history
  3. My message

    TheoryWrong committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    f6fbdb7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b43938d View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2021

  1. Fix external includes in .vscode

    Fix hde64 headers to be used from userland or kernel
    
    Add PrivCheckPlugin to add priv overriding
    Add Driver IOCTL's for PrivCheckPlugin
    Add unfinished Hook implementation which will handle everything
    kiwidoggie committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    d928c40 View commit details
    Browse the repository at this point in the history
  2. Fix build

    Finish implementation of PrivCheckPlugin (UNTESTED)
    kiwidoggie committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    b625f14 View commit details
    Browse the repository at this point in the history
  3. Add hooks, missing kdlsym

    kiwidoggie committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    d3e2edf View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2021

  1. Configuration menu
    Copy the full SHA
    515bc5e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60264ad View commit details
    Browse the repository at this point in the history
  3. Moving stuff around

    kiwidoggie committed Mar 20, 2021
    Configuration menu
    Copy the full SHA
    63e0ac0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3149520 View commit details
    Browse the repository at this point in the history
  5. Fix the build issues.

    kiwidoggie committed Mar 20, 2021
    Configuration menu
    Copy the full SHA
    c3c66fb View commit details
    Browse the repository at this point in the history
  6. More changes

    kiwidoggie committed Mar 20, 2021
    Configuration menu
    Copy the full SHA
    8494f53 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    37bb8a7 View commit details
    Browse the repository at this point in the history
  8. Linker issues ...

    kiwidoggie committed Mar 20, 2021
    Configuration menu
    Copy the full SHA
    0b1ffed View commit details
    Browse the repository at this point in the history
  9. Fix linker issue

    kiwidoggie committed Mar 20, 2021
    Configuration menu
    Copy the full SHA
    eefe920 View commit details
    Browse the repository at this point in the history
  10. Add mira_module vscode config

    Add SystemApi in mira_module as a common interface for all trainers to use
    (UNTESTED)
    
    Fix userland compiling of mira driver headers
    Fix stupid cdev header issue in TrainerManager (thx ChendoChap)
    kiwidoggie committed Mar 20, 2021
    Configuration menu
    Copy the full SHA
    5df852b View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2021

  1. Add mira_module build step to vscode

    Add mira_module Logger from daemon
    
    Change MiraProcessInformation/ThreadResult to not depend on FBSD headers
    Change MiraProcessList.Size to StructureSize to align better with other structs
    
    Fix mira_module includes + linker errors
    
    Implement SystemApi::GetProcessList,GetProcInformation
    kiwidoggie committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    88912f5 View commit details
    Browse the repository at this point in the history
  2. Cleanup vscode tasks.json

    Fix /kernel build errors due to StructureSize rename
    Fix compiler error in trainer_loader
    kiwidoggie committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    8f4f753 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c3c0f41 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2021

  1. Configuration menu
    Copy the full SHA
    9e52980 View commit details
    Browse the repository at this point in the history
  2. Missed some files

    kiwidoggie committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    be0845e View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. Update PrivCheckPlugin to use ThreadIds

    New Hook Trampoline test?
    kiwidoggie committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    6dc1e77 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. Add CMake initial setup

    Add PrivCheck get to trainer_loader
    kiwidoggie committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    df34e76 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2021

  1. More cmake fuckery

    kiwidoggie committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    8e1b69d View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2021

  1. Add MonoApi

    kiwidoggie committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    785ff15 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. Configuration menu
    Copy the full SHA
    f917771 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2021

  1. More build fixes

    kiwidoggie committed Apr 17, 2021
    Configuration menu
    Copy the full SHA
    e61c724 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1fc6137 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2021

  1. Create driver system ioctls to match code refactoring

    Implement MiraAllocateMemory to driver
    Implement MiraFreeMemory to driver
    Implement MiraRead/WriteProcessMemory userland wrappers
    
    Add wrappers for Allocate/FreeProcess memory in kernel/Utils::System to take process id
    kiwidoggie committed Apr 18, 2021
    Configuration menu
    Copy the full SHA
    0342437 View commit details
    Browse the repository at this point in the history
  2. Fix compiler errors

    kiwidoggie committed Apr 18, 2021
    Configuration menu
    Copy the full SHA
    bea2fbf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b61541 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2021

  1. Configuration menu
    Copy the full SHA
    77ad402 View commit details
    Browse the repository at this point in the history
  2. No clue

    kiwidoggie committed May 2, 2021
    Configuration menu
    Copy the full SHA
    6c4879e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b3f583 View commit details
    Browse the repository at this point in the history
  4. I dun forgot

    kiwidoggie committed May 2, 2021
    Configuration menu
    Copy the full SHA
    2c53fcd View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. Configuration menu
    Copy the full SHA
    9db8b0f View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. Configuration menu
    Copy the full SHA
    49af605 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2021

  1. Cleanup the repository

    Update the README.md FW porting guide
    Fix retail build errors
    kiwidoggie committed May 19, 2021
    Configuration menu
    Copy the full SHA
    bedb63c View commit details
    Browse the repository at this point in the history
  2. Add or update README files

    kiwidoggie committed May 19, 2021
    Configuration menu
    Copy the full SHA
    9fe5542 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. Add daemon readme

    Disable p_comm process check in TrainerManager
    kiwidoggie committed May 27, 2021
    Configuration menu
    Copy the full SHA
    bf0b2c4 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2021

  1. Update dlsym header to new mira format

    Fix trainer_loader not building/linking properly
    Fix trainer_loader elf being embedded instead of payload
    
    Add /dev/console logging to trainer_loader
    kiwidoggie committed Jun 5, 2021
    Configuration menu
    Copy the full SHA
    04e5333 View commit details
    Browse the repository at this point in the history
  2. add 7.55 support

    therootlord committed Jun 5, 2021
    Configuration menu
    Copy the full SHA
    3660b2b View commit details
    Browse the repository at this point in the history
  3. Push oosdk fixes

    kiwidoggie committed Jun 5, 2021
    Configuration menu
    Copy the full SHA
    20a2455 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #18 from therootlord/develop

    add 7.55 support
    kiwidoggie authored Jun 5, 2021
    Configuration menu
    Copy the full SHA
    ec8ee6b View commit details
    Browse the repository at this point in the history
  5. Remove testing bomb

    kiwidoggie committed Jun 5, 2021
    Configuration menu
    Copy the full SHA
    2666e1d View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2021

  1. Add example_trainer

    Attempt to re-enable PrivCheckPlugin
    kiwidoggie committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    9dfe497 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2021

  1. Bump CMake to version 3.20 minimum

    Add priv_check test
    Add missing github workflows
    Add subhook kernel library
    
    Remove Utils::Hook in favor of subhook
    Remove Makefile's in favor of CMake
    
    Fix crash due to Utilities::MountInSandbox returning a negative error code
    
    Enable priv_check_cred hook by default
    kiwidoggie committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    a2bd77d View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2021

  1. Add SCE custom privs

    Disable vprintf hook (crashes)
    kiwidoggie committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    f7f8b33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d7c982 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. Add KernelDebug

    Churros98 committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    f3cd3c8 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2021

  1. Configuration menu
    Copy the full SHA
    44b8fe4 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2021

  1. Configuration menu
    Copy the full SHA
    14c28d4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #19 from theorywrong/develop

    Add KernelDebug for Wath/Break(point) inside Kernel.
    kiwidoggie authored Sep 19, 2021
    Configuration menu
    Copy the full SHA
    ee5a6fa View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2021

  1. Implement PVS-Studio cmake step

    Fix PVS-Studio errors
    kiwidoggie committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    eddc5f6 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2021

  1. Add create-lib call to mira_module

    Add nullptr checks to Framework classes throughout codebase
    
    Rename MiraPrivCheck to MiraSetThreadPrivMask to better represent
    Rename OnMiraGetProcList to OnSystemGetProcessList
    
    Enable FPKG, FSELF managers again
    
    Disable MIRA_GET_PROC_INFORMATION
    kiwidoggie committed Oct 30, 2021
    Configuration menu
    Copy the full SHA
    247ef53 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c73b34 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2021

  1. Configuration menu
    Copy the full SHA
    338f26c View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. Gate Protobuf behind _PROTOBUF define

    Add additional checks to FPKG/FSELF attempting to catch a bug
    
    Change loader to dynamically search proc list
    kiwidoggie committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    4c74e76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    145b677 View commit details
    Browse the repository at this point in the history
  3. Add configuration override

    kiwidoggie committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    a930a40 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fc784da View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2021

  1. Configuration menu
    Copy the full SHA
    0957935 View commit details
    Browse the repository at this point in the history
  2. Delete Makefile

    Churros98 authored Dec 5, 2021
    Configuration menu
    Copy the full SHA
    703bfec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2be23eb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5f9071a View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. Add /kernel USERLAND_PATCHES gate to re-add usermode patches

    Enable kernel patching in loader again (for now until JIT)
    
    Disable spam in PrivCheckPlugin
    kiwidoggie committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    550539f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #32 from theorywrong/develop

    Add Jmpslot ioctl inside kernel (And mira_module library)
    kiwidoggie authored Dec 13, 2021
    Configuration menu
    Copy the full SHA
    da8304b View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2021

  1. Add stack smashing check

    Move framework to own section to try and debug the 0x28 crash
    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    c224cff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29231f4 View commit details
    Browse the repository at this point in the history
  3. Attempt to fix CI

    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    a22cb40 View commit details
    Browse the repository at this point in the history
  4. CI fix part 2

    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    2c03b7c View commit details
    Browse the repository at this point in the history
  5. CI fix part 3

    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    1263c67 View commit details
    Browse the repository at this point in the history
  6. CI fix part 4

    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    d32e7a9 View commit details
    Browse the repository at this point in the history
  7. CI fix part 5

    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    9619583 View commit details
    Browse the repository at this point in the history
  8. CI fix attempt 6

    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    7ae3f4d View commit details
    Browse the repository at this point in the history
  9. Fix CI part 7

    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    01526f4 View commit details
    Browse the repository at this point in the history
  10. CI fix part 8

    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    ddbdb18 View commit details
    Browse the repository at this point in the history
  11. CI fix part 9

    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    c1ebc24 View commit details
    Browse the repository at this point in the history
  12. CI fix part 10

    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    54271da View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7600513 View commit details
    Browse the repository at this point in the history
  14. Fix ci part 11

    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    e723eb8 View commit details
    Browse the repository at this point in the history
  15. Remove outdated workflows

    Enable killing ShellUI for reloading
    kiwidoggie committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    b92e7c6 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2021

  1. Configuration menu
    Copy the full SHA
    ee22805 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2021

  1. Fix C++ interop with sysctl.h

    Fix WriteLog bug (OrbisOS/MountManager) where int was being printed as string potentially causing issues
    
    Add additional fields to InitParams_t for use later
    Add FindSignature to TrainerUtils for dynamic kernel patching
    Add MountManager to handle mounting/unmounting from sandbox/fs
    Add more documentation
    Add sysctl SysWrappers syscall
    Add additional info to MiraLoader for dynamic kernel patches
    
    Remove broken ass patch (DeathRGH overwrites other opcodes causing kpanic when using ptrace)
    Remove MountNullFs, MountInSandbox from OrbisOS::Utilities
    
    Update CtrlDriver to use new MountManager
    Update TrainerManager to use new MountManager
    kiwidoggie committed Dec 29, 2021
    Configuration menu
    Copy the full SHA
    4887746 View commit details
    Browse the repository at this point in the history
  2. Add GetShellUIThread to Mira

    Add ShellUI thread injection for trainer_loader
    
    Replace copyout with proc_rw_mem for TrainerManager::AllocateTrainerLoader
    
    TEMP: Add hack to expose AllocateTrainerLoader
    
    Fix launch type to be normal by default.
    kiwidoggie committed Dec 29, 2021
    Configuration menu
    Copy the full SHA
    cf7056c View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2021

  1. Disable TrainerManager::OnProcessExit (MountManager handles unmountin…

    …g now)
    
    Disable stat errors if the error was not found (no directory/entity exists)
    
    Add log when unknown ioctl was passed to TrainerManager
    Add DirectoryExists to MountManager
    Add process name to CtrlDriver
    
    Implement MountManager::DestroyMount (WIP)
    kiwidoggie committed Dec 31, 2021
    Configuration menu
    Copy the full SHA
    85f5e4e View commit details
    Browse the repository at this point in the history
  2. Fix OOSDK detection in master CMakeLists.txt

    Fix daemon build
    Fix corruption when displaying FreePath in MountManager
    Fix directory not being created when Mounting in sandbox
    Fix incorrect arguments being passed to MountNullFs
    Fix mira_module build
    Fix tests build
    Fix trainer_loader not closing device driver when finished
    
    Replace daemon CMake file
    Replace example_trainer CMake file
    Replace mira_module CMake file
    Replace oosdk build script
    Replace tests CMake file
    
    Remove /_substitute mounting as it's redundant, everything is now mounted under _mira
    Remove _mira_elf_start from trainer_loader
    Remove opening /dev/console in trainer_loader
    
    Implement unmounting in MountManager
    kiwidoggie committed Dec 31, 2021
    Configuration menu
    Copy the full SHA
    0e8e26c View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2022

  1. Configuration menu
    Copy the full SHA
    fc1d3ef View commit details
    Browse the repository at this point in the history
  2. Fix MountManager not actually unmounting properly

    Fix TrainerManager pathing for sandbox creation
    kiwidoggie committed Jan 1, 2022
    Configuration menu
    Copy the full SHA
    6416221 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2022

  1. Fix the example_trainer payload lifespan

    Fix MountManager::DirectoryExists
    Fix verbosity of TrainerManager/MountManager
    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    da133e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d00dd96 View commit details
    Browse the repository at this point in the history
  3. Update github workflow

    Convert daemon to prx for rapid testing
    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    94576ff View commit details
    Browse the repository at this point in the history
  4. Update CI

    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    34f3b93 View commit details
    Browse the repository at this point in the history
  5. Update CI 2

    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    797e154 View commit details
    Browse the repository at this point in the history
  6. Update CI 3

    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    18637af View commit details
    Browse the repository at this point in the history
  7. Update CI 4

    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    d12e49b View commit details
    Browse the repository at this point in the history
  8. Update CI 5

    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    3cd3a05 View commit details
    Browse the repository at this point in the history
  9. Update CI 6

    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    3b84802 View commit details
    Browse the repository at this point in the history
  10. Update CI 7

    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    4cdd6e9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7598673 View commit details
    Browse the repository at this point in the history
  12. NOTE: NONWORKING BUILD

    Fix root CMakeLists environment variable not being set
    
    Refactor Driver IOCTL's for consistency
    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    70cf40d View commit details
    Browse the repository at this point in the history
  13. Remove CAPI until v1 is finalized

    Fix TrainerLoader build
    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    902b0df View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    726bbf1 View commit details
    Browse the repository at this point in the history
  15. Continue driver fixes

    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    c01ace8 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    48ac885 View commit details
    Browse the repository at this point in the history
  17. Starting to re-wire everything to new format

    Move Trainer IOCTL out of TrainerManager
    kiwidoggie committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    2556cd7 View commit details
    Browse the repository at this point in the history