What is api-ms-XXX
A stub dll acts as a pointer to the actual dll that does the work.
Without the stub:
Your program: I need ReadConsoleW from kernel32.dll
kernel32.dll: I'm here.
Your program works.
-------
With the stub:
Write-Host "pull guacamole and mysql" -ForegroundColor Cyan | |
docker pull guacamole/guacamole | |
docker pull guacamole/guacd | |
docker pull mysql/mysql-server | |
Write-Host "mysql user=root pass=1234" -ForegroundColor Cyan | |
docker run --name mysql -e MYSQL_ROOT_PASSWORD=1234 -d mysql/mysql-server | |
Write-Host "generate guacamole initdb.sql" -ForegroundColor Magenta |
0:000> .symopt+ bffff | |
Symbol options are 0xBFFFF: | |
0x00000001 - SYMOPT_CASE_INSENSITIVE | |
0x00000002 - SYMOPT_UNDNAME | |
0x00000004 - SYMOPT_DEFERRED_LOADS | |
0x00000008 - SYMOPT_NO_CPP | |
0x00000010 - SYMOPT_LOAD_LINES | |
0x00000020 - SYMOPT_OMAP_FIND_NEAREST | |
0x00000040 - SYMOPT_LOAD_ANYTHING | |
0x00000080 - SYMOPT_IGNORE_CVREC |
print unpack("L", unpack("P4", pack("J", 0x7FFE0260))), "\n"; |
請不吝點贊 訂閱 轉發 打賞支持明鏡與點點欄目 | |
請不吝點贊 訂閱 轉發 打賞支持明鏡與點欄目 | |
字幕:李宗盛 | |
錄音:吳宗盛 | |
文字幕:李宗盛 | |
搜尋中文字幕:蘇曉雅 | |
中文字幕:周傑 | |
中文字幕:宇宙 | |
演唱 李宗盛 | |
李宗盛 |
What is api-ms-XXX
A stub dll acts as a pointer to the actual dll that does the work.
Without the stub:
Your program: I need ReadConsoleW from kernel32.dll
kernel32.dll: I'm here.
Your program works.
-------
With the stub:
# Enable all components | |
Set-VMProcessor MyVMName -Perfmon @("ipt", "pmu", "lbr", "pebs") | |
Set-VMProcessor bla -Perfmon @("pmu") |
Set-MlnxPCIDeviceSriovSetting -Name "HCA 0" -SriovPortMode 2 -SriovPort1NumVFs 0 -SriovPort2NumVFs 64 -Confirm:$false | |
Get-VM|Set-VMNetworkAdapter -IovWeight 100 -IovQueuePairsRequested 8 |
mklink /J C:\Windows\^%SystemRoot^% C:\Windows |
rem should work for mt4099 too | |
rem some server may failed to boot, be careful | |
mlxconfig -d mt4103_pci_cr0 set LOG_BAR_SIZE=2 | |
mlxconfig -d mt4103_pci_cr0 set SRIOV_EN=1 LINK_TYPE_P1=2 LINK_TYPE_P2=2 NUM_OF_VFS=64 | |
mlxconfig -d mt4099_pci_cr0 set LOG_BAR_SIZE=2 | |
mlxconfig -d mt4099_pci_cr0 set SRIOV_EN=1 LINK_TYPE_P1=2 LINK_TYPE_P2=2 NUM_OF_VFS=64 | |
:: ---------------- | |
what i got |
MD1200 at Port 4E : Box 4 | |
Physical Drive (2 TB SAS HDD) 4E:4:Unknown | |
Enclosure SEP (DELL MD1200) | |
Enclosure Expander | |
Enclosure Expander |