Commit graph

24 commits

Author SHA1 Message Date
Snaipe
b9e3923b7c Removed any usage of GNU C-only macros from libcsptr, using smalloc & sfree directly instead 2015-09-06 00:37:30 +02:00
Snaipe
0520a36723 Implemented basename for compatibility with OS X and Windows 2015-08-20 18:04:29 +02:00
Snaipe
d052330c21 Force usage of get_win_section_{start,stop} on cygwin 2015-08-19 17:51:05 -07:00
Snaipe
799f46a3e3 [Issue #30] Added special accessors for section limits on OS X 2015-08-07 19:51:11 -07:00
Snaipe
4d60e8ad91 Added missing license headers 2015-08-06 00:23:22 +02:00
Snaipe
1feeca65ce Fixed signal handling on windows 2015-08-04 15:20:12 +02:00
Snaipe
051e97b96a Added basic SEH-to-signal translator in posix compatibility layer 2015-08-04 15:02:33 +02:00
Snaipe
b0200e8e41 Fixed some typos 2015-08-04 04:29:11 -07:00
Snaipe
0b74a5a279 Switched context copy to shared memory since the library's memory space is not initialized on a newly created process 2015-08-04 11:07:43 +02:00
Snaipe
567e4731a7 Fixed section iteration crashing on padding entries & typos 2015-08-03 15:39:57 +02:00
Snaipe
86762f8ff7 Fixed windows code for section retrieving and changed section names to fit under 8 bytes. 2015-08-03 15:15:48 +02:00
Snaipe
9aa9be0a41 Added tentative to retrieve the sections from the PE header 2015-08-03 14:25:53 +02:00
Snaipe
0d7033cfd5 Made windows dynamically resolve the section limits at runtime 2015-08-01 13:44:58 +02:00
Snaipe
86e059b403 Fixed GetProcessId include compatibility for windows server 2012 & windows 8 2015-07-31 07:30:25 +02:00
Snaipe
260b88c5d7 Boyscouting 2015-04-10 01:03:58 +02:00
Snaipe
55bef02069 Restored full cygwin compatibility (win32 should only be used for timing functions with the cygwin layer) 2015-04-09 22:51:15 +02:00
Snaipe
07a5d9a600 Made the pipe handles inheritable 2015-03-27 07:39:33 -07:00
Snaipe
243ed3a8b8 Trying a safer approach for a fork() alternative 2015-03-26 22:18:43 +01:00
Snaipe
f652d174fe Also copy the heap 2015-03-26 14:49:09 +01:00
Snaipe
419d80639f Added missing jmp_buf type 2015-03-25 20:24:41 +01:00
Snaipe
bbb107e8da Fixed some issues on windows 2015-03-25 20:23:06 +01:00
Snaipe
d61d8c4ae1 Added WIP fork()'ing 2015-03-25 17:17:28 +01:00
Snaipe
130244d2ca Implemented pipe on the windows side 2015-03-25 00:22:33 +01:00
Snaipe
70a3c91dc5 Refactored code to prepare for windows integration 2015-03-24 23:38:00 +01:00