Bryan Roe
67fc6c54b1
Addressed IOActive issues
2020-07-15 01:24:56 -07:00
Bryan Roe
8dc669699e
Added mitigation for signal handling with vfork
2020-07-07 17:05:47 -07:00
Bryan Roe
f2cbf1f10d
Updated LoadLibrary() to specify system32 path only
2020-07-06 18:46:48 -07:00
Bryan Roe
0d4f0f6adc
1. Implemented missing event 'net.server.connect'
...
2. Added integer overflow checks on ILibMemory operations
3. Added better bounds checking for DNS resolve and PE header parsing
2020-06-26 23:10:43 -07:00
Bryan Roe
25539b09d7
Fixed metadata handling bug on Windows, for child_process
2020-05-29 10:10:09 -07:00
Bryan Roe
9e6387599a
Added ILibChain_ReadAndSaveStateEx()
...
Updated Windows IPC Socket, so client connection uses ReadAndSaveState, to start in paused state.
2020-05-29 00:02:59 -07:00
Bryan Roe
74d4ae2c1e
Windows, rev1 update
2020-05-23 01:02:44 -07:00
Bryan Roe
c2c12f7ac5
Fixed compiler warning
2020-05-22 15:08:41 -07:00
Bryan Roe
a7b30fb729
Updated metadata
2020-05-22 12:18:46 -07:00
Bryan Roe
2a0cc4435d
Fixed #ifdef
2020-05-22 00:31:48 -07:00
Bryan Roe
32935e0102
Updated metadata handling
2020-05-22 00:27:01 -07:00
Bryan Roe
383c19f5fe
1. Updated metadata
...
2. Fixed compiler warning
2020-05-21 19:06:05 -07:00
Bryan Roe
dd216efbe8
Updated metadata
2020-05-21 13:20:42 -07:00
Bryan Roe
3c3a0075a6
Fixed compiler warning
2020-05-20 14:24:02 -07:00
Bryan Roe
16a2f437c3
Added ability to Save/Restore handle wait state
...
Fixed edge case that could cause a connection to resume twice
2020-05-20 12:05:38 -07:00
Bryan Roe
f2d63ea116
Updated metadata for descriptor tracking
2020-05-19 17:21:07 -07:00
Bryan Roe
f6c254bd4c
Fixed crash caused by ChainViewer
2020-05-19 15:53:59 -07:00
Bryan Roe
56cc4c1328
Improved descriptor tracking
2020-05-19 14:47:52 -07:00
Bryan Roe
72ca73dd3d
Added ability to fetch handle count
2020-05-19 10:11:59 -07:00
Bryan Roe
eba7419fc9
1. Set upperbound on number of Windows WaitHandles
...
2. Fixed Windows_IPC to DisconnectNamedPipe() on connected handled when 'end' is called
3. Fixed Windispatch to terminate on when close is emitted
2020-05-19 01:14:18 -07:00
Bryan Roe
66122d43c1
Fixed compiler warning
2020-05-17 18:26:45 -07:00
Bryan Roe
97ad48f2f2
1. Added ILibChain_WriteEx()
...
2. Updated ILibChain_Continue() on windows to take an optional list of HANDLE**
3. Updated net.socket IPC on Windows to use ILibChain_ReadEx and ILibChain_WriteEx
4. Fixed child_process.waitExit() on windows to pass only the wait handles for the process
5. Added GetWaitHandles() to ILibProcessPipe
2020-05-15 17:25:49 -07:00
Bryan Roe
67cb052356
fixed microsecond to millisecond conversion error
2020-05-11 15:36:41 -07:00
Bryan Roe
a4c5430879
Updated windows path to use ReadEx when overlapped is supported
2020-05-09 11:02:16 -07:00
Bryan Roe
b2b78a3dbe
Fixed so current node can be removed while being dispatched
2020-05-08 19:37:16 -07:00
Bryan Roe
dd0cd1af85
Fixed timeout, for child_process.waitExit()
2020-05-07 22:19:49 -07:00
Bryan Roe
0dc052319c
Fixed #ifdef
2020-05-07 12:31:58 -07:00
Bryan Roe
9668b8d77d
Update to use new threading model for windows
2020-05-07 10:29:49 -07:00
Bryan Roe
47066bd825
untested changes
2020-05-06 14:03:41 -07:00
Bryan Roe
5fb0cef7db
1. Removed debug message from child-container
...
2. Fixed WriteEx() behavior
3. Fixed AddWaitHandle() to use APC if called from wrong thread
4. Fixed net.ipcSocket to return correct value if write completed right away
2020-05-05 16:12:23 -07:00
Bryan Roe
969909cca7
Updated WriteEx
2020-05-05 02:00:07 -07:00
Bryan Roe
a58c3279b7
Added WaitHandles array to chain
2020-05-04 21:08:43 -07:00
Bryan Roe
ed418bd695
Fixed bugs on which WSAEvent was closed
2020-05-04 19:21:39 -07:00
Bryan Roe
1bd4e3d07c
Updated Windows Chain logic, to use WSAEventSelect and WaitForMultipleObjectsEx
2020-05-04 17:25:55 -07:00
Bryan Roe
10f1f53912
1. Removed usage of wcstomb_s(), which doesn't support UTF8
...
2. Added WideToUTF8_stupid() helper for API calls that give you byte count instead of character count of a non-null terminated UTF16 string
3. Fixed a few more places to support UTF8
2020-04-30 16:20:37 -07:00
Bryan Roe
71bd469551
fix
2020-04-29 03:01:44 -07:00
Bryan Roe
3843d0173d
1. Added NULL reference check
...
2. Removed suspend/resume duktape call
2020-04-23 19:53:57 -07:00
Bryan Roe
54b291187b
1. Fixed compiler warning when NO_IFADDR is defined
...
2. Added pthread_timedjoin_np() workaround for older glibc/gcc
2020-04-23 16:47:57 -07:00
Bryan Roe
6cfd62ed42
1. Added sem_timedwait to macos
...
2. Added Workaround for pthread_timedjoin_np() for macos
2020-04-21 16:22:39 -07:00
Bryan Roe
28db019101
1. Added ability to spawn joinable threads on linux
...
2. Added ILibThread_TimedJoin()
2020-04-20 21:51:55 -07:00
Bryan Roe
5ba1288cdf
Modified JS runtime to use ILibMemory_Extra to point to udata structure,
...
then used that for consistency checks
2020-04-17 15:05:47 -07:00
Bryan Roe
46aaa971ae
fixed compiler warning
2019-09-20 16:42:28 -07:00
Bryan Roe
365fe2d36f
Fixed bug where if WatchDog is specified on Linux, a compile error happens because of a typo
2019-09-19 16:35:47 -07:00
Bryan Roe
eb76a93551
Fixed compiler warnings
2019-09-09 17:44:42 -07:00
Bryan Roe
d7f0424d2c
Updated crash handler on linux, so that if a core file would've been generated on crash, it will reset/restart the signal handler, so that a core file will be generated after logging the crash.
2019-08-27 15:00:18 -07:00
Bryan Roe
fa6836d17a
Added ability to generate Dump file on crash, on Windows
2019-08-26 14:16:39 -07:00
Bryan Roe
a89a3204c1
1. Added ability to query if Select was interrupted with APC
...
2. Updated So that before readableStream and 'exit' are dispatched, APC's are unrolled if 'select' was interrupted, preventing stack corruption caused by trying to make a re-entrant winsock call, which is not supported by winsock.
2019-08-07 11:32:33 -07:00
Bryan Roe
604e853354
fixed freebsd bugs
2019-06-20 16:48:38 -07:00
Bryan Roe
124c0d386f
Initial modifications to support FreeBSD
2019-06-17 15:45:46 -07:00
Bryan Roe
bb82553fa8
1. Updated LinkedList to use ILibMemory_SmartAllocate
...
2. Updated ILibChain_Continue to flag when it exits the processing loop
3. Updated main loop to reset continuation flag at the start of each loop
2019-06-13 13:36:43 -07:00