Accessing 32-bit DLLs from 64-bit code exe sample [closed] - mfc

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I want access 32 bit dll from 64 bit code .. can you please provide me sample or idea.

A 64-bit process cannot load 32-bit binaries and vice-versa. If you want to access 32-bit binaries from a 64-bit process, you need to create a 32-bit surrogate process that calls into the 32-bit DLL, and provides some means of Interprocess Communications.
The 64-bit process would then issue requests to the 32-bit process, that forwards them to the 32-bit DLL, and report results back to the 64-bit process. You have to work out the details for the communication channel(s) yourself, as your question is not specific enough.

I think You'll need to have the 32-bit dll loaded into a separate 32-bit process.
This link may help you :
https://blog.mattmags.com/2007/06/30/accessing-32-bit-dlls-from-64-bit-code/

Related

Qt is too large for my capped bandwidth. What are my alternatives? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I want to write a program that has a canvas and users can draw on it with different colors. I found out that Qt has such thing, but when I tried to install it, I realized that it requires 32GBs of installation which is well beyond my bandwidth. I then realized that most of the installation includes things such as MSVC++ which I don't need, and MinGW which I already have. But then again, the modules which remain occupy over 20GB of space. It's not only that I don't have enough bandwidth, my HDD space is low as well, as it's filled to the brim and even my external HDDs are filled to nowheresville. What are my alternatives? Is there a nice, header-only canvas library for C++? Thanks a lot.
You can build the Qt yourself with the components you need (qtcore + qtwidget)

tools for symbolic execution on binaries [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
are there any tools for symbolic execution on binaries. i mean using which, we do not require to modify the source code - like klee_make_symbolic
or we can do such changes in IR (llvm ir etc.)
thanks in advance
Maybe miasm can fit your requirements. It is a reverse engineer framework that supports static symbolic execution. As far as I know, it is more simple than KLEE and S2E.
Canonical list is in Awesome Symbolic Execution.
Symbolically executing binary code is much much harder, so i doubt there are such tools exist.
However note that you don't necessarily need to modify your code when using KLEE because it can model POSIX environment and C library (when compiled with support for this, of course). Using these features you can automatically symbolize argv arguments and keyboard interaction.

Is there a cross-platform library for windows manipulation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there a library which has equivalents for WinAPI FindWindow,EnumWindows, WindowFromPoint, ChildWindowFromPoint, GetWindowRect, GetWindowText, EnumDisplayMonitors etc. supported on each platform: Windows, X11, OS X, ... ?
There are XGetWindowProperty , XFetchName, etc. functions on Linux, NSWindowList, CGSGetWindowProperty(), etc. on Mac. I just want a wrapper library like an abstraction layer for these functions, so I can use the same code on all platforms.
Those functions are windows platform specific only. You can't use them on other operating systems as they use libraries and dll files which run on Windows based systems only. However if you want to make cross platform apps using c/c++, you should consider API's like qt or gtk.
They have functions which will run on most platforms without any changes.

Does an ncurses or similar library exist which works well with fortran? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Does ncurses library (originally developed with C in mind, if memory serves) have a port, or does an alternative exist which works well with fortran on a Windows platform?
Or, some library (since I've always used ncurses name when referring to "that sort of interfaces) which could be used to develop semi GUI on a command line prompt?
With 2003 standard C-Fortran interoperability
http://genepi.qimr.edu.au/staff/davidD/
http://genepi.qimr.edu.au/staff/davidD/Curses/pdcurses.f95
http://genepi.qimr.edu.au/staff/davidD/Curses/ncurses.f95
http://genepi.qimr.edu.au/staff/davidD/Curses/testcurs.f95
For the alternatives, you'd need the calls in
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682087(v=vs.85).aspx
If you are using IVF, the interfaces have already been done in kernel32.F90 in the IVF include directory.
On Windows platforms, to get cursor addressing to work in either kernel32 or ncurses, the Screen Buffer Size height and Window Size height in the cmd prompt properties must be set to the same value.

Parser for 32-bit and 64-bit Mach-O binary/executable formats in C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for a C++ library that can parse 32-bit and 64-bit Mach-O binary format. I don't need anything fancy, just a disassembly and splitting the file into its sections, so no decompilation, name demangling and so on.
I know I can either rip open any existing disassembler or craft my own binary parsers using the format specification from Apple, but I was kind of hoping not having to go that far, especially if someone else has done the work for me.
Many thanks!
You can start with the open-source class-dump tool (http://www.codethecode.com/projects/class-dump/). It can read both 32 and 64 bits Mach-o binaries, and is known to have a decent parser.
Try playing around with the command-line tool otool; it sounds like it does what you want. You could call it from C code with system(), etc.
Try this: MachOView
It is still in developing stage, but hopefully becomes a powerful tool soon.
Get the Darwin (Mac OS X kernel) source code, I guarantee somewhere in there they've got a parser for Mach-O binaries.