Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case sensative DLLs on Linux #8

Open
kevthehermit opened this issue Aug 14, 2019 · 2 comments
Open

Case sensative DLLs on Linux #8

kevthehermit opened this issue Aug 14, 2019 · 2 comments

Comments

@kevthehermit
Copy link

Built in an Ubuntu docker container.
Copy System32 DLL files from a win10 x86 installation.

linux@2edd1925c12c:/bineedev/go/src/binee$ ./binee tests/ConsoleApplication1_x86.exe 
error finding file api-ms-win-core-job-l1-1-0.dll
error finding file api-ms-win-core-file-l2-1-2.dll
error finding file api-ms-win-core-debug-l1-1-1.dll
error finding file api-ms-win-security-appcontainer-l1-1-0.dll
error finding file api-ms-win-core-appcompat-l1-1-1.dll
error finding file api-ms-win-core-datetime-l1-1-1.dll
error finding file api-ms-win-core-realtime-l1-1-0.dll
error finding file api-ms-win-core-wow64-l1-1-0.dll
error finding file kernelbase.dll
error finding file api-ms-win-core-processthreads-l1-1-3.dll

cp KernelBase.dll kernelbase.dll

linux@2edd1925c12c:/bineedev/go/src/binee$ ./binee tests/ConsoleApplication1_x86.exe 
error finding file vcruntime140.dll
[1] 0x214bfad0: F GetSystemTimeAsFileTime(lpSystemTimeAsFileTime = 0xb7feffe0) = 0xb7feffe0
[1] 0x214ccb10: P GetCurrentThreadId() = 0x0
[1] 0x214ccb60: P GetCurrentProcessId() = 0x2001
[1] 0x214ccae0: F QueryPerformanceCounter(lpPerformanceCount = 0xb7feffd8) = 0x1
[1] 0x214d49a0: F IsProcessorFeaturePresent(ProcessorFeature = 0xa) = 0x1
[1] 0x20874220: F _initterm_e(PVFV = 0x4020d8, PVFV = 0x4020e4) = 0x0
[1] 0x20874160: F _initterm(PVPV = 0x4020cc, PVPV = 0x4020d4) = 0x0
@jholowczak-cb
Copy link
Collaborator

Hello,

This was an oversight in the documentation. All DLL filenames need to be lowercase in linux. We haven't quite figured out if or how we want to do case-insensitive path searching, but it would be good to have for better out-of-box support of all operating systems. In the meantime I've added a step 6 in the setup documentation with a bash oneliner that should make every file copied over be lowercase: https://github.com/carbonblack/binee/wiki/Setup#windows

@evandrix
Copy link

Case sensitive*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants