Bug 769048 part D - Import the MemoryModule code from https://github.com/fancycode...
commit4bef88b22e3fe2753fefa096bd39970f15c80c35
authorBenjamin Smedberg <benjamin@smedbergs.us>
Mon, 2 Jul 2012 18:55:23 +0000 (2 14:55 -0400)
committerBenjamin Smedberg <benjamin@smedbergs.us>
Mon, 2 Jul 2012 18:55:23 +0000 (2 14:55 -0400)
treea81b032be4506612e8e3c916efef5291716434bd
parentb9aa5eee3bc87a951ba942899f870b3f4bbc443e
Bug 769048 part D - Import the MemoryModule code from https://github.com/fancycode/MemoryModule revision ca4f504527 and modify it to support injecting a DLL image into a remote process. MPLv2 upgrade approved by the author. r=ehsan

Limitations:
* untested (and therefore unbuilt) on Windows 64
* The dll entry point is not called, which usually requires the DLL to
  cooperate by calling _CRT_INIT from the loaded entry point
* There is no support for unloading (no need in this patch)

--HG--
extra : rebase_source : c29489c0c312b0c22a4a6b8b3ee8c6469b45a01c
toolkit/crashreporter/LoadLibraryRemote.cpp [new file with mode: 0644]
toolkit/crashreporter/LoadLibraryRemote.h [new file with mode: 0644]
toolkit/crashreporter/Makefile.in