Commit Graph

2324 Commits

Author SHA1 Message Date
Andy Neff
5b6ffc21c1 Tar better so there is no / warning 2018-07-19 16:01:07 -04:00
Lubos Dolezel
c9c986723b Initial DBGCopyFullDSYMURLForUUID() implementation, add the getuuid tool (will be used for dSYM symlink generation) (#403) 2018-07-19 21:51:37 +02:00
Lubos Dolezel
0e2ce8ce9a Fix #402 (although the program doesn't work because of missing NSUserDefaults impl) 2018-07-19 14:45:01 +02:00
Lubos Dolezel
1e1083564f Merge branch 'andyneff-fix_dkms' 2018-07-19 00:37:03 +02:00
Lubos Dolezel
74a772890f Merge branch 'fix_dkms' of https://github.com/andyneff/darling into andyneff-fix_dkms 2018-07-19 00:36:43 +02:00
Andy Neff
8ed8660c70 Update to merged submodule 2018-07-18 18:34:06 -04:00
Lubos Dolezel
2862be4e66 Fixing a memory corruption in ccmd5, fixes ld crashes 2018-07-19 00:30:57 +02:00
Lubos Dolezel
30f026fe9f Fix for #361 2018-07-18 23:26:09 +02:00
Lubos Dolezel
1bbb5e40c0 Fix a crash affecting clang 2018-07-18 23:13:32 +02:00
Lubos Dolezel
1515283c7f Short circuit the most common pthread_canceled() call for singlethreaded programs 2018-07-18 22:10:01 +02:00
Lubos Dolezel
6d65774cf7 This gets printing vars in LLDB (at least partially) working 2018-07-18 22:08:08 +02:00
Lubos Dolezel
a6afeb6926 Fix unxip installation 2018-07-18 22:07:42 +02:00
Lubos Dolezel
1d1c45c9bc Fix psynch errno bugs 2018-07-18 19:46:43 +02:00
Lubos Dolezel
25ef4f5e55 Support proc info PROC_PIDTBSDINFO 2018-07-18 19:45:12 +02:00
Lubos Dolezel
a5b1ece38e Support mach_vm_(de)allocate() in a remote process 2018-07-18 16:37:35 +02:00
Lubos Dolezel
f7b18e30be Fix 100% CPU on dead SSH sessions with 'darling shell' 2018-07-18 12:52:27 +02:00
Lubos Dolezel
a9cb3b9f7b Implement pmenergy/pmsample stubs, should be sufficient for LLDB 2018-07-18 00:11:22 +02:00
Lubos Dolezel
3528228b56 Make mach_vm_protect() succeed (#304) 2018-07-17 19:10:23 +02:00
Lubos Dolezel
50488a45b6 LKM fix for #400 2018-07-16 21:11:24 +02:00
Lubos Dolezel
11b494915b Provide non-zero suspend_count for suspended tasks/threads 2018-06-18 23:39:21 +02:00
Sergey Bugaev
6dff053a91 Fixes in Foundation and Cocotron 2018-06-12 17:06:25 +03:00
Sergey Bugaev
be4b6029b9 Add support for installing framework resources 2018-06-12 16:57:44 +03:00
Sergey Bugaev
6c63fdc8b3 Fixes in CF, F and Cocotron 2018-06-10 20:47:44 +03:00
Lubos Dolezel
91a7286005 sys_read() should return 0 instead of -EIO (Linux behavior) when PTY slave is closed 2018-06-04 15:15:24 +02:00
Lubos Dolezel
64ea7a0445 Add task_info(TASK_VM_INFO) support, fix a kernel Oops (#304) 2018-06-04 09:16:45 +02:00
Lubos Dolezel
deffbbf527 Fix sysctlbyname() 2018-06-03 23:56:46 +02:00
Andrew Hyatt
5ff1472f1f
Create developer directory 2018-06-03 16:56:56 -04:00
Andrew Hyatt
bcf3bf6782
Update xcbuild 2018-06-03 16:56:39 -04:00
Andrew Hyatt
839119950c
Work on integrating xcbuild 2018-06-03 15:10:43 -04:00
Andrew Hyatt
65ad2b5104
Create tool to rename lines recursively 2018-06-03 15:10:43 -04:00
Lubos Dolezel
58e53acb18 Remove printf's from sigexc.c, they confuse LLDB 2018-06-03 21:05:56 +02:00
Lubos Dolezel
1128250936 Implement sysctl(sysctl.proc_cputype) (#304) 2018-06-03 21:05:35 +02:00
Lubos Dolezel
7b3e53e21a Implement thread_info(THREAD_BASIC_INFO) (#304) 2018-06-03 18:42:00 +02:00
Lubos Dolezel
b50e7b2310 Properly report whether given process is 64-bit (#304) 2018-06-03 18:25:51 +02:00
Lubos Dolezel
6d119edd1e Fix task_threads() returning duplicates (#304) 2018-06-03 17:25:59 +02:00
Lubos Dolezel
4f197ee2ef Provide sysctl(hw.cpu64bit_capable) (#304) 2018-06-03 16:56:48 +02:00
Lubos Dolezel
d7efa97fcf Implement sysctl({ CTL_KERN, KERN_OSVERSION }) (#304) 2018-06-03 16:19:21 +02:00
Lubos Dolezel
ca149243c4 Fix mach_error_string() 2018-06-03 15:54:24 +02:00
Lubos Dolezel
107adacd44 Bug fix in libelfloader 2018-06-02 15:21:27 +02:00
Sergey Bugaev
c28507ac27 Use system's copy of elf.h
Fixes building on Fedora
2018-05-29 23:14:56 +03:00
Lubos Dolezel
a3f1fe61a3 Fix build of darling-dmg submodule 2018-05-28 22:01:24 +02:00
Lubos Dolezel
a34b5f3267 Fail gracefull when NULL path is passed to open() 2018-05-28 21:59:24 +02:00
Lubos Dolezel
75d82d99d3 Fix libelfloader build 2018-05-28 12:16:02 +02:00
Lubos Dolezel
5905ef4a9e Merge remote-tracking branch 'origin/master' into kernel_macho_loading 2018-05-28 09:22:43 +02:00
Lubos Dolezel
f4935993fe Extend permissions to allow running 32-bit apps by ordinary users 2018-05-27 23:09:56 +02:00
Lubos Dolezel
da76c39c3f Sort out loading Mach-Os via kernel as an ordinary user 2018-05-27 22:19:57 +02:00
Lubos Dolezel
d66e208242 After KPTI, it is no longer trivial for us to have a custom int 0x83 handler -> go back to ioctl() 2018-05-27 21:19:14 +02:00
Sergey Bugaev
db3595a7ba Fixes in Foundation 2018-05-27 08:42:07 +03:00
Sergey Bugaev
33b8c2719e Implement the new EGL-based OpenGL.framework
darlinghq/darling#365
2018-05-27 08:41:38 +03:00
Sergey Bugaev
f1d7708be2 Handle MACH_SEND_* and MACH_RECV_* return codes in xtrace 2018-05-27 08:38:07 +03:00