Commit Graph
10 Commits
Author SHA1 Message Date
voidderef-agent 49d7de7a39 test: cover shared object folder lookup
Add a CMocka suite around the production shared-object path helper and register it in the existing utility test hierarchy.

Cover directory extraction for a resolvable symbol, invalid symbol and buffer arguments, a zero-sized buffer, and an undersized buffer. These cases protect the path contract used by the library-adjacent mapping lookup.
2026-09-28 16:54:20 +02:00
voidderef-agent 9c1983a9e4 fix: harden shared IO library path lookup
PR #86 derives the mapping-file directory from dladdr's dli_fname. The initial implementation assumes that the resolved name contains a directory separator. If the loader returns a bare soname, the truncation loop reduces it to its first character and reports success, causing a bogus mapping-file lookup instead of using the executable-directory fallback.

Locate the final separator before copying, preserve the filesystem root, reject names that do not identify a directory, and validate the length of the returned directory rather than requiring room for the complete library filename.

Link the four PIUIO and PIUBTN keyboard and joystick targets directly with libdl so their dladdr dependency remains explicit on the supported older glibc environment.
2026-09-28 16:54:20 +02:00
voidderef-agent 516407deb9 test: cover asound group parsing 2026-09-28 16:00:26 +02:00
Luciano Ciccariello 351c5bb802 Fix HD mode on Prime 1 2024-03-19 12:02:56 +01:00
Cube d129b53561 LXIO Support:
This is mostly Din's work.

piuio and piubtn are both included in the piuio/lxio lib
To use in games which contain a button board specify the same
module for both piuio and piubtn configs.
2022-06-22 23:53:10 +02:00
icex2 b2bbf8981d nxahook: Support pumpnet 2021-04-07 08:41:36 +02:00
icex2 5a2c8b5104 patch: Add piuio-khack module
This module takes care of emulating the ITG 2 piuio kernel driver
hack. As a separate module, this can be hooked into any chain of
existing hooks providing a greater level of flexibility and
transparency.
2021-03-19 12:43:17 +01:00
Cube f0040e5a1a Microdog 4.0 Emulator: Standalone 2021-01-14 14:19:44 -08:00
icex2 8c66e6b763 piubtn real: Add missing library on linking 2020-12-31 19:55:24 +01:00
icex2 762bf140c0 Version 1.08 with public source code release. 2020-10-03 20:56:55 +02:00