Commit Graph

  • dd5e818dfc Need to specify build matrix differently. Joachim Bauch 2015-02-27 00:56:39 +01:00
  • 4c08d8eb92 Also build UNICODE versions. Joachim Bauch 2015-02-27 00:54:48 +01:00
  • 625aa47035 Use "uintptr_t" instead of custom type. Joachim Bauch 2015-02-27 00:46:34 +01:00
  • dacdbaba9a Deny loading any other architecture than 64bit if compiled for 64bit. Joachim Bauch 2015-02-27 00:39:16 +01:00
  • 6212358a24 Use function from tchar.h instead of #ifdef. Joachim Bauch 2015-02-27 00:34:28 +01:00
  • 808c043faf Fixed indentation. Joachim Bauch 2015-02-27 00:25:57 +01:00
  • dcccd79158 Merge pull request #22 from dismantl/findresource-bugfix Joachim Bauch 2015-02-27 00:23:06 +01:00
  • b889c72727 Bump year in copyright. Joachim Bauch 2015-02-27 00:22:03 +01:00
  • 3422b5791c Show build status. Joachim Bauch 2015-02-27 00:20:35 +01:00
  • 52b0379749 Added travis configuration. Joachim Bauch 2015-02-27 00:05:11 +01:00
  • 1d55f77753 small fix relating to searching IMAGE_RESOURCE_DIRECTORY_ENTRYs for named resources Dan Staples 2015-01-05 20:28:02 -05:00
  • 5a448ce93a Support loading (and running) EXE files (fixes #7). Joachim Bauch 2014-09-21 18:34:11 +02:00
  • 2d504b533e Check architecture of library to load. Joachim Bauch 2014-09-21 17:33:18 +02:00
  • b8125d0a65 Compile everything with "g++" and link statically. v0_0_4 Joachim Bauch 2014-09-21 14:24:44 +02:00
  • bb736dc160 Added explicit casts. Joachim Bauch 2014-09-21 14:19:36 +02:00
  • da78edc39b Use markdown readme. Joachim Bauch 2014-09-21 14:14:21 +02:00
  • 8d286f8566 Bump version number. Joachim Bauch 2014-09-21 14:09:56 +02:00
  • ce62f60a6e Bump year in copyright. Joachim Bauch 2014-09-21 14:09:31 +02:00
  • de7840af70 Removed trailing whitespaces. Joachim Bauch 2014-09-21 14:07:49 +02:00
  • f76963b8ea Fixed copying too much into local headers. Joachim Bauch 2013-12-12 10:14:51 +01:00
  • e75438a006 Execute thread-local-storage callbacks (GitHub #11). Joachim Bauch 2013-12-07 18:16:14 +01:00
  • 147fdde848 Fixed potential endless loop while searching for resources (github issue #10). Joachim Bauch 2013-04-12 18:35:12 +02:00
  • fc6a58a785 Changed variable definitions to fix compiler errors in Visual Studio. Joachim Bauch 2013-03-12 10:00:36 +01:00
  • 54e3a29836 Use same parameter type as in header file. Joachim Bauch 2013-03-12 01:25:56 +01:00
  • fa31e34ff9 Fixed compiler warnings in Visual Studio (github issue #8) Joachim Bauch 2013-03-12 01:25:07 +01:00
  • 3c74a360e5 Differ between UNICODE and _UNICODE. Joachim Bauch 2013-03-12 01:15:52 +01:00
  • a064d0e636 Support unicode compilation Joachim Bauch 2013-03-12 01:02:10 +01:00
  • 390efc33a1 Use new resource loading API Joachim Bauch 2013-03-12 00:44:17 +01:00
  • f4d15a53ac Added memory module resource loading API. Joachim Bauch 2013-03-12 00:43:57 +01:00
  • 132964d838 Store some resources in the DLL. Joachim Bauch 2013-03-12 00:33:30 +01:00
  • a199afce7c Use spaces instead of tabs - sorry for the noise. Joachim Bauch 2013-03-09 00:42:29 +01:00
  • f210f67771 Check against NULL, not INVALID_HANDLE_VALUE. Joachim Bauch 2013-03-09 00:39:08 +01:00
  • 536a597836 Use "SetLastError" for errors in "GetProcAddress". Joachim Bauch 2013-03-09 00:37:11 +01:00
  • c4e8de7d4f Use "SetLastError" to flag errors to caller while loading. Joachim Bauch 2013-03-09 00:35:50 +01:00
  • f7a34964ff LoadLibrary returns NULL if loading failed Joachim Bauch 2013-03-09 00:03:04 +01:00
  • 6f4f2bdd5b Handle OOM case for result object. Joachim Bauch 2013-03-08 23:58:49 +01:00
  • 44ae72da04 Added API to delegate resolving of dependencies to custom methods (github issue #5, inspired by pull request #9) Joachim Bauch 2013-03-08 23:57:07 +01:00
  • 0c19658eb1 Bump year in copyright Joachim Bauch 2013-03-05 01:16:14 +01:00
  • 7ffe0e2b66 Support passing the platform to build for (e.g. "make PLATFORM=x86_64" for 64bit build), defaults to i686). Joachim Bauch 2013-03-05 01:14:15 +01:00
  • c23d0642d6 Added/updated makefiles to build all sample files using one "make". Joachim Bauch 2013-03-05 01:09:49 +01:00
  • 257a77c0e9 Ignore more built files Joachim Bauch 2013-03-05 01:07:52 +01:00
  • 1cc307a883 Support compilation using MinGW on Linux. Joachim Bauch 2013-03-05 01:02:09 +01:00
  • d9a3b23830 Use \LoadLibraryA" to fix potential error when compiling with UNICODE being defined (github issue #6) Joachim Bauch 2013-03-05 00:46:11 +01:00
  • c01e010793 Reserve and commit memory in one step (fixes error found by Coverity, CID 989314). Joachim Bauch 2013-03-05 00:40:27 +01:00
  • 2b846b727a Removed logically dead code (found by Coverity, CID 989316). Joachim Bauch 2013-03-05 00:36:27 +01:00
  • 6a5d3d420e Fixed potential memory leak if "realloc" fails. Joachim Bauch 2013-03-05 00:32:42 +01:00
  • 0f6bdc7c16 Fixed potential resource leak of library handle (found by Coverity, CID 989315) Joachim Bauch 2013-03-05 00:30:25 +01:00
  • 8a7f64ea3a Use lowercase filename to support compilation on Linux using MinGW. Joachim Bauch 2013-03-05 00:27:43 +01:00
  • d0cf3a2084 updated license to MPL 2.0 Joachim Bauch 2012-06-28 19:42:15 +02:00
  • ca4f504527 next release will be 0.0.3 v0_0_3 Joachim Bauch 2012-04-09 22:13:02 +02:00
  • 73833b3eb5 "LoadLibrary" returns NULL instead of INVALID_HANDLE_VALUE on errors (Issue #2) Joachim Bauch 2012-04-09 22:08:25 +02:00
  • 7feb92c9ef Bumped year in copyright Joachim Bauch 2012-04-09 22:07:14 +02:00
  • 5cc82f24d0 bumped year in copyright Joachim Bauch 2011-01-17 21:36:35 +01:00
  • 10b29c5045 Merge branch 'master' of github.com:fancycode/MemoryModule Joachim Bauch 2011-01-17 21:25:53 +01:00
  • 0ddce45dc5 fixed compilation with Vista SDK where "IMAGE_SIZEOF_BASE_RELOCATION" is no longer defined (GitHub issue #1) Joachim Bauch 2011-01-17 21:25:27 +01:00
  • 9e480a552e use correct size for sections that have no raw size defined but define their data size Joachim Bauch 2010-10-24 22:19:26 +02:00
  • 178ea7363c updated code layout Joachim Bauch 2010-10-24 22:17:57 +02:00
  • b0e63038e2 removed macro to calculate addresses, not really needed Joachim Bauch 2010-10-24 22:10:25 +02:00
  • 75021eff5f adjust addresses to protect by upper 32bit for 64bit modules Joachim Bauch 2010-10-24 03:03:35 +02:00
  • 2f0bb27c68 added support for 64bit DLLs Joachim Bauch 2010-10-24 02:48:03 +02:00
  • 285b108da0 added readme Joachim Bauch 2010-10-24 00:40:54 +02:00
  • 1ece5ca28d updated year in copyright, updated notice about where to get code from Joachim Bauch 2010-10-24 00:39:24 +02:00
  • a486d330f2 added makefiles to compile with mingw Joachim Bauch 2010-10-24 00:37:53 +02:00
  • 1f8eb009e5 set eol-style on all files Joachim Bauch 2010-10-23 22:29:04 +00:00
  • 85f8632489 small cosmetic changes Joachim Bauch 2006-03-23 21:45:06 +00:00
  • 3386ad9dfc fixed compilation problems with gcc 3.2.3 (mingw special 20030504-1) Joachim Bauch 2005-04-27 19:18:39 +00:00
  • d2e86cee05 released version 0.0.2 v0_0_2 Joachim Bauch 2005-04-08 13:46:42 +00:00
  • 0ee387d7ba license changed to MPL 1.1, updated copyright years jojo_peb_compat Joachim Bauch 2005-04-08 13:44:21 +00:00
  • 01ff019269 license changed to MPL 1.1, updated copyright years Joachim Bauch 2005-04-08 13:44:21 +00:00
  • d650d30325 updated registration of module in PEB Joachim Bauch 2005-03-15 23:50:39 +00:00
  • b2e7e1e546 fixed casting bug on some compilers (reported by John S. Brumbelow) Joachim Bauch 2005-03-01 20:10:11 +00:00
  • af834a6af4 initial checkin Joachim Bauch 2005-02-01 23:11:28 +00:00
  • 9399210d23 started writing PEB compatible code Joachim Bauch 2005-02-01 23:09:49 +00:00
  • 88618e2a4a started writing some PEB compatible code MemoryModule Joachim Bauch 2005-02-01 23:04:37 +00:00
  • e952dd3cfa fixed memory leak (VirtualFree must be called with zero size when releasing memory) Joachim Bauch 2005-01-26 15:24:52 +00:00
  • be334a2b16 added download link for version 0.0.1 Joachim Bauch 2004-12-02 00:09:49 +00:00
  • acbf34704c released version 0.0.1 v0_0_1 Joachim Bauch 2004-12-01 23:51:32 +00:00
  • a104efd19f first released version will be 0.0.1 Joachim Bauch 2004-12-01 23:50:50 +00:00
  • 50ff6eb112 - added section about exported functions - added cross-references Joachim Bauch 2004-12-01 23:48:54 +00:00
  • 39c4c17ec1 fixed warnings when compiling with BCC55 Joachim Bauch 2004-10-31 18:23:43 +00:00
  • eb764af1ef - updated to support imports by ordinal value - doesn't break if library has no entry point Joachim Bauch 2004-10-31 13:30:43 +00:00
  • a7a9eda6c4 - removed parameter "size" from "MemoryLoadLibrary" as it wasn't used - updated import table loading code, now also works with Delphi .bpl files - updated section copying code for uninitialized sections Joachim Bauch 2004-10-31 12:29:52 +00:00
  • e32c546536 - debug output disabled by default - tries to allocate memory at arbitrary address if specified ImageBase is invalid or cannot be allocated Joachim Bauch 2004-10-20 20:32:18 +00:00
  • 37fc1b6e82 removed configuration files Joachim Bauch 2004-10-10 16:34:28 +00:00
  • 135337380a added sample project Joachim Bauch 2004-10-10 16:31:50 +00:00
  • cc38494f47 added LGPL header Joachim Bauch 2004-10-10 16:31:27 +00:00
  • f097d913ef added readme.txt Joachim Bauch 2004-10-09 18:49:59 +00:00
  • 0bb66744bd added license file Joachim Bauch 2004-10-09 18:49:15 +00:00
  • 784d39dc08 Initial Import Joachim Bauch 2004-10-09 18:45:48 +00:00