Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
Android.mk | D | 03-May-2024 | 1 KiB | 58 | 34 | |
BitVector.c | D | 03-May-2024 | 2.4 KiB | 103 | 54 | |
BitVector.h | D | 03-May-2024 | 961 | 35 | 13 | |
Common.h | D | 03-May-2024 | 339 | 20 | 11 | |
DevAudio.c | D | 03-May-2024 | 3 KiB | 137 | 94 | |
DevConsoleTty.c | D | 03-May-2024 | 1.3 KiB | 54 | 27 | |
DevEvent.c | D | 03-May-2024 | 11.4 KiB | 437 | 289 | |
DevFb.c | D | 03-May-2024 | 7.9 KiB | 301 | 185 | |
DevLog.c | D | 03-May-2024 | 13.8 KiB | 486 | 315 | |
DevPower.c | D | 03-May-2024 | 3.8 KiB | 176 | 107 | |
DevVibrator.c | D | 03-May-2024 | 1 KiB | 48 | 26 | |
FakeDev.c | D | 03-May-2024 | 8.8 KiB | 321 | 188 | |
FakeDev.h | D | 03-May-2024 | 3.4 KiB | 127 | 48 | |
Globals.h | D | 03-May-2024 | 7.1 KiB | 214 | 150 | |
Init.c | D | 03-May-2024 | 5.5 KiB | 192 | 121 | |
Intercept.c | D | 03-May-2024 | 23.9 KiB | 852 | 493 | |
LaunchWrapper.c | D | 03-May-2024 | 7.9 KiB | 302 | 180 | |
Log.c | D | 03-May-2024 | 1.7 KiB | 75 | 43 | |
Log.h | D | 03-May-2024 | 299 | 20 | 8 | |
README.txt | D | 03-May-2024 | 759 | 22 | 13 | |
SimMgr.c | D | 03-May-2024 | 24.3 KiB | 989 | 625 | |
SimMgr.h | D | 03-May-2024 | 1.8 KiB | 76 | 33 | |
SysPower.c | D | 03-May-2024 | 3 KiB | 141 | 81 | |
Util.c | D | 03-May-2024 | 245 | 14 | 11 | |
Util.h | D | 03-May-2024 | 39 | 5 | 1 |
README.txt
1This shared library is used with LD_PRELOAD to wrap the Android runtime 2when used with the desktop simulator. 3 4Because LD_PRELOAD is part of the environment when gdb and valgrind are 5invoked, the wrapper can "see" activity from both of these (more so gdb 6than valgrind). For this reason it needs to be very careful about which 7"open" calls are intercepted. 8 9It's also important that none of the intercepted system or library calls 10are invoked directly, or infinite recursion could result. 11 12Avoid creating dependencies on other libraries. 13 14 15To debug wrapsim, set WRAPSIM_LOG to a log file before launching, e.g. 16 17% WRAPSIM_LOG=/tmp/wraplog.txt simulator 18 19For more verbose logging, you can enable the verbose forms of CALLTRACE 20and CALLTRACEV in Intercept.c. 21 22