[Full-disclosure] Why a Computer Programming *History* Class is Needed Re: The Mystery of the Duqu Framework



It is not a framework, but a style. A struct with function pointers is
essentially a class. Someone already pointed out that the binary code
was generated by MS C compiler. Try a web search for "Object-Oriented
ANSI C".

During the old days, the OO style C was quite common in MS Windows SDK
Win32 API samples.

Dr 250
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Relevant Pages

  • Re: How are C++ objects laid out in memory ?
    ... If a C++ class or struct contains no virtual methods, ... There are no function pointers. ... >pointers which I can locate and then invoke the function pointers? ...
    (comp.lang.asm.x86)
  • Re: Problem with function pointers and structures
    ... struct IDatabase ... struct INetwork *lpVtable; ... struct IDatabase func_ptrs = /* other database functions */}; ... How do you link function pointers to the relevant function if they are accessed through a pointer in another structure? ...
    (comp.lang.c)
  • Re: Problem with function pointers and structures
    ... Your `struct IDatabase' does not contain ... any function pointers, so you shouldn't try to use function pointers ... `struct INetwork', and *that* struct contains function pointers. ...
    (comp.lang.c)
  • Re: Problem with function pointers and structures
    ... Your `struct IDatabase' does not contain ... any function pointers, so you shouldn't try to use function pointers ... `struct INetwork', and *that* struct contains function pointers. ...
    (comp.lang.c)
  • Re: [PATCH 3/8] sched: rt-group: interface
    ... Yes, I looked at that, I found the interface somewhat unfortunate, it ... If the size of the struct cftype really became a problem, ... function pointers, and add a field to specify which one is in use. ...
    (Linux-Kernel)