Commit graph

104 commits

Author SHA1 Message Date
misson20000
a3cedc251c
Merge pull request #31 from Thog/feature/swipc
Use SwIPC as a submodule
2018-08-16 01:59:28 -07:00
misson20000
29d5a00ebe
Merge pull request #30 from Thog/feature/ipc-5.x
ipc: Add 5.0+ message types
2018-08-16 01:59:16 -07:00
misson20000
63ddfccaa3
Merge pull request #29 from Thog/feature/decompressed-nso
Support uncompressed segments in NSO
2018-08-16 01:59:08 -07:00
Thog
f3afe2dcc9
nso: Do not try to decompress if segment isn't compressed 2018-08-16 10:02:16 +02:00
Thog
ed9905785f
Update SwIPC submodule
This also add enum and versioning support.
Please note that actual SwIPC master doesn't have parameters for
LaunchProcess (in pm:shel)
2018-08-16 09:47:24 +02:00
Thog
2ae322bd9d
Fix structure with sized members 2018-08-16 09:47:14 +02:00
Thog
c2ee5f8a05
Make Mephisto uses SwIPC directly
This permite to provide more up to date data.

Please note that this cannot work with actual SwiPC master because it's
missing a __init__.py file.
2018-08-16 09:47:03 +02:00
Thog
4e658cab57
ipc: Add 5.0+ message types (ignore the context for now) 2018-08-16 09:44:46 +02:00
misson20000
7c46b8e68a return correct error code on svcGetInfo instead of crashing 2018-07-17 23:25:52 -07:00
misson20000
355af21785 ~IFile: only close files if we actually opened them (fixes heisensegfault) 2018-05-16 12:25:22 -07:00
misson20000
b2b6a831f2 add svcMap/UnmapPhysicalMemory 2018-05-16 12:23:58 -07:00
misson20000
175186ddbe ldr:ro implementation 2018-04-26 20:29:24 -07:00
misson20000
7e05066e43 fix svcQueryMemory for heap region 2018-03-28 20:42:24 -07:00
misson20000
86e61651db add --initialize-memory option to help catch uninitialized memory errors 2018-03-28 14:24:58 -07:00
misson20000
5632e77ed4 add --relocate option, for running relocations on NRO files (useful for debugging libtransistor's relocator) 2018-03-28 14:24:35 -07:00
misson20000
fb375ce291 move map region to within 38-bit address space 2018-03-05 14:36:16 -08:00
misson20000
a88eff8c49 make unicorn a submodule and static link it to make our binaries easier to run 2018-02-28 21:34:11 -08:00
misson20000
1a21bb2666 mac build fix 2018-02-28 14:29:22 -08:00
misson20000
d6dbec4ef4 LONG_FMT -> LONGFMT 2018-02-28 14:02:44 -08:00
misson20000
c8b7bdfbab fix printf formats for osx 2018-02-28 13:52:34 -08:00
misson20000
b43d490f07 set up deployments with travis 2018-02-28 13:50:50 -08:00
misson20000
b5ed6c113d Merge remote-tracking branch 'roblabla/feature-kiploader' 2018-02-28 13:42:16 -08:00
misson20000
cfe806393c Merge remote-tracking branch 'roblabla/feature-dirsupport' 2018-02-28 13:41:02 -08:00
roblabla
ba15d6d636 Close host file handle when IFile is closed. Implement destructor in stub-gen 2018-02-28 16:33:54 +01:00
misson20000
404b15e460 fix printf format on Svc::ExitProcess for mac builds 2018-02-23 20:06:03 -08:00
misson20000
e63128d130 move map region 2018-02-23 15:35:39 -08:00
roblabla
c781e26dd5 Implement IDirectory::Read and IFileSystem::OpenDirectory 2018-02-23 18:45:11 +01:00
misson20000
cd645add89 fix QueryMemory for HEAP regions 2018-02-19 17:00:51 -08:00
roblabla
323902eee7 Fix loading 2.3.0 SPL KIP 2018-02-15 22:36:43 +01:00
roblabla
799bc01cce Handle case where the handle got closed in messageAsync 2018-02-15 02:07:40 +01:00
roblabla
39d1c65441 Update auto.id 2018-02-11 04:21:23 +01:00
roblabla
e46e002f64 load kips 2018-02-11 04:21:10 +01:00
misson20000
f234e962e0 Revert "Revert "start NROs at nro+0x00 instead of nro+0x80 and don't preload x30" until reswitched/libtransistor#84 is merged"
This reverts commit 090c371337.
2018-01-22 22:05:10 -08:00
misson20000
090c371337 Revert "start NROs at nro+0x00 instead of nro+0x80 and don't preload x30" until reswitched/libtransistor#84 is merged
This reverts commit 210847a2bc.
2018-01-18 21:46:39 -08:00
misson20000
4c6d02c21e Merge branch 'master' of github.com:reswitched/Mephisto 2018-01-15 22:48:48 -08:00
misson20000
210847a2bc start NROs at nro+0x00 instead of nro+0x80 and don't preload x30 2018-01-15 21:48:50 -08:00
misson20000
8123fc45c3 implement svcGetSystemTick 2018-01-15 21:09:46 -08:00
misson20000
f927335e88
Merge pull request #23 from maci0/master
Simplify dockerfile some more, use current git clone
2017-12-16 16:02:22 -08:00
Marcel Wysocki
3834bbf341 Simplify dockerfile some more, use current git clone during build context 2017-12-14 09:54:18 +01:00
misson20000
9b5b231345
Merge pull request #22 from maci0/master
Add Dockerfile and info how to run Mephisto from docker
2017-12-13 14:18:10 -08:00
Marcel Wysocki
b8105e4efb add library path, use current uid at runtime, so homedir is accessible 2017-12-13 23:13:32 +01:00
Marcel Wysocki
2fe08ebcd9 use nobody users home directory 2017-12-13 22:56:57 +01:00
Marcel Wysocki
daf97c5336 use nobody user for the container, minor readme changes 2017-12-13 22:00:54 +01:00
misson20000
ce938140e3
Merge pull request #21 from roblabla/dev
Bunch of fixes
2017-12-13 12:12:06 -08:00
Marcel Wysocki
8563f15123 Add Dockerfile and info how to run Mephisto from docker 2017-12-13 20:31:28 +01:00
roblabla
13c6df347e Avoid segfault when single stepping into an SVC 2017-12-10 21:49:14 +01:00
roblabla
437888490e Set TLS size to a single page (allows creating more thread). Unmap TLS once thread is terminated. 2017-12-10 21:49:14 +01:00
roblabla
f4f2a37ca4 Handle sending thread signal from breakpoint 2017-12-10 21:49:14 +01:00
roblabla
b8dc6830d6 Set return value for SleepThread when yielding 2017-12-10 21:49:14 +01:00
roblabla
c586044616 Set return value for SvcWaitProcessWideKeyAtomic 2017-12-10 21:49:14 +01:00