Git Product home page Git Product logo

unifuzz's People

Contributors

mooredan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

unifuzz's Issues

Need support for MinGW64 Windows

I tried to use a unifuzz.dll on Windows 10 64bit system with sqlite3 b got error loading the dll

sqlite> .load "unifuzz.dll"
Error: The specified module could not be found.
sqlite> .q

woodbri@DESKTOP-MD7Q6H6 MINGW64 ~/Documents/Genealogy
$ file /c/windows/system32/unifuzz.dll
/c/windows/system32/unifuzz.dll: PE32 executable (DLL) (console) Intel 80386, for MS Windows

woodbri@DESKTOP-MD7Q6H6 MINGW64 ~/Documents/Genealogy
$ file /c/windows/system32/sqlite3.exe
/c/windows/system32/sqlite3.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows

I think I correct in assuming that this unifuzz.dll is 32bit extension and therefore not compatible with the sqlite3.exe which is a 64bit executable.

I cloned the repository and tried to build this under ming64gcc81. I change the Makefiles to use g++ instead of clang with the following results:

In file included from ../../../wine/include/windef.h:266,
                 from ../../../wine/include/wine/unicode.h:26,
                 from wctype.c:4:
../../../wine/include/winnt.h:775:35: warning: attributes ignored on elaborated-type-specifier that is not a forward declaration [-Wattributes]
 typedef struct DECLSPEC_ALIGN(16) _SLIST_ENTRY *PSLIST_ENTRY;
                                   ^~~~~~~~~~~~
make[1]: Leaving directory '/projects/unifuzz/wine/libs/wine'
make -C wine/dlls/kernel32 ARCH=64 locale.o
make[1]: Entering directory '/projects/unifuzz/wine/dlls/kernel32'
g++ -m64 -c -o locale.o locale.c \
      -I. \
              -I../../../wine/include \
              -D__WINESRC__ \
              -D_KERNEL32_ \
              -D_NORMALIZE_ \
              -D_REENTRANT \
              -fPIC \
              -Wall \
              -pipe \
              -fno-strict-aliasing \
              -Wdeclaration-after-statement \
              -Wempty-body -Wignored-qualifiers -Wstrict-prototypes \
              -Wtype-limits -Wvla -Wwrite-strings \
              -Wpointer-arith \
              -gdwarf-2 -gstrict-dwarf \
              -fno-omit-frame-pointer -std=gnu89 \
              -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
cc1plus.exe: warning: command line option '-Wdeclaration-after-statement' is valid for C/ObjC but not for C++
cc1plus.exe: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus.exe: warning: command line option '-std=gnu90' is valid for C/ObjC but not for C++
In file included from locale.c:25:
../../../wine/include/wine/port.h:112:10: fatal error: dlfcn.h: No such file or directory
 #include <dlfcn.h>
          ^~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:30: locale.o] Error 1
make[1]: Leaving directory '/projects/unifuzz/wine/dlls/kernel32'
make: *** [Makefile:51: wine/dlls/kernel32/locale.o] Error 2

The warnings might be ok, but where does dlfcn.h come from. I also think that resulting library would need to be .dll and not .dynlib

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.