User Activity

  • Modified a wiki page on mrexodia

    Home

  • Created merge request #27 on mingw-w64 on MinGW-w64 - for 32 and 64 bit Windows

    Patch for incorrect heap function declarations in winnt.h

  • Committed [3e75e5] on MinGW-w64 - for 32 and 64 bit Windows - mingw-w64

    Fix a few return types in winnt.h

  • Posted a comment on discussion Vote on SourceForge Project of the Month

    VOTE: x64dbg

  • Posted a comment on ticket #602 on MinGW-w64 - for 32 and 64 bit Windows

    Here is my final code, the function fxclassify is a candidate to replace ___fxclassifyl on x64 (it is correct in the sense that the currently unimplementation FP_UNSUPPORTED flag is returned as FP_NAN). The function hwclassify is inline assembly and this works, I added support for FP_UNSUPPORTED (and if you define unsupported as nan it works). The macro btclassify calls __builtin_fpclassify and should not be used because it is incorrect (admittedly only in certain edge cases where you have a denormal...

  • Posted a comment on ticket #602 on MinGW-w64 - for 32 and 64 bit Windows

    Okay that code is broken I will try again...

  • Posted a comment on ticket #602 on MinGW-w64 - for 32 and 64 bit Windows

    I did some more testing where I take all possible sign_exponent and high values that influence the classification according to wikipedia and compare my implementation (with #define FP_UNSUPPORTED FP_NAN) with __builtin_fpclassify and it appears that my implementation is correct (or at least matches the builtin classification): https://ideone.com/RB1sZm I will do some more testing also on the 32 bit version of GCC and mingw-w64 later to see if the 32 bit builtin/software implementation is the same....

  • Posted a comment on ticket #602 on MinGW-w64 - for 32 and 64 bit Windows

    This code: #include <math.h> int main() { long double ld = 0; unsigned char data[10] = { 0x5b, 0x01, 0x04, 0x5e, 0x85, 0x00, 0x00, 0x00, 0xd8, 0x59 }; __builtin_memcpy(&ld, data, 10); __builtin_printf("sizeof(long double) = %d\n", sizeof(long double)); __builtin_printf("FP_NAN: 0x%X\nFP_NORMAL: 0x%X\n", FP_NAN, FP_NORMAL); __builtin_printf("fpclassify: 0x%X\n", fpclassify(ld), FP_NAN, FP_NORMAL); } Shows (on GCC 6.3): sizeof(long double) = 16 FP_NAN: 0x0 FP_NORMAL: 0x4 fpclassify: 0x0 And on Apple...

View All

Personal Data

Username:
mrexodia
Joined:
2011-01-24 17:59:11

Projects

This is a list of open source software projects that Duncan Ogilvie is associated with:

  • Project Logo x64dbg An open-source x64/x32 debugger for windows. Last Updated:
MongoDB Logo MongoDB