From de522ba5095885d79df514cac5dadef2cf552426 Mon Sep 17 00:00:00 2001 From: rukaimi <rukaimi@985867f9-ca9c-e1f6-822d-e8a4186388af> Date: Sun, 23 Sep 2012 19:47:08 +0000 Subject: [PATCH] Note added --- pe_lib/pe_32_64.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pe_lib/pe_32_64.cpp b/pe_lib/pe_32_64.cpp index 916c2cb..de400c6 100644 --- a/pe_lib/pe_32_64.cpp +++ b/pe_lib/pe_32_64.cpp @@ -1046,6 +1046,7 @@ const pe_base::tls_info pe<PEClassType>::get_tls_info() const //If you have chosen to rewrite raw data, only (EndAddressOfRawData - StartAddressOfRawData) bytes will be written, not the full length of string //representing raw data content //auto_strip_last_section - if true and TLS are placed in the last section, it will be automatically stripped +//Note/TODO: TLS Callbacks array is not DWORD-aligned (seems to work on WinXP - Win7) template<typename PEClassType> const pe_base::image_directory pe<PEClassType>::rebuild_tls(const tls_info& info, section& tls_section, DWORD offset_from_section_start, bool write_tls_callbacks, bool write_tls_data, tls_data_expand_type expand, bool save_to_pe_header, bool auto_strip_last_section) { -- GitLab