diff --git a/_abstract_byte_buffer_8cpp_source.html b/_abstract_byte_buffer_8cpp_source.html index 1b29393c..5b272108 100644 --- a/_abstract_byte_buffer_8cpp_source.html +++ b/_abstract_byte_buffer_8cpp_source.html @@ -95,14 +95,14 @@ $(function(){ initResizable(false); }); Go to the documentation of this file.
1#include "AbstractByteBuffer.h"
2
- +
4{
5 if (unit == 0) {
6 printf("Invalid roundup unit!\n");
7 return 0;
8 }
-
9 bufsize_t unitsNum = size / unit;
-
10 bufsize_t roundDown = unitsNum * unit;
+
9 bufsize_t unitsNum = size / unit;
+
10 bufsize_t roundDown = unitsNum * unit;
11 if (roundDown < size) unitsNum ++;
12 return unitsNum * unit;
13}
@@ -124,7 +124,7 @@ $(function(){ initResizable(false); });
26BYTE AbstractByteBuffer::operator[](std::size_t idx)
27{
-
28 bufsize_t offset = static_cast<bufsize_t>(idx);
+
28 bufsize_t offset = static_cast<bufsize_t>(idx);
29 if (offset >= getContentSize() ) {
30 throw BufferException("Too far offset requested!");
31 }
@@ -137,7 +137,7 @@ $(function(){ initResizable(false); });
36{
37 if (ptr == NULL) return INVALID_ADDR;
38 BYTE* buf = this->getContent();
-
39 bufsize_t bufSize = this->getContentSize();
+
39 bufsize_t bufSize = this->getContentSize();
40
41 if (buf == NULL || bufSize == 0) {
42 if (allowExceptions) throw BufferException("Buffer if empty!");
@@ -157,7 +157,7 @@ $(function(){ initResizable(false); });
56
-
57BYTE* AbstractByteBuffer::getContentAt(offset_t offset, bufsize_t size, bool allowExceptions)
+
57BYTE* AbstractByteBuffer::getContentAt(offset_t offset, bufsize_t size, bool allowExceptions)
58{
59 if (offset == INVALID_ADDR) {
60 if (allowExceptions) throw BufferException("Invalid address requested!");
@@ -189,21 +189,21 @@ $(function(){ initResizable(false); });
86
- +
88{
89 if (startOffset == INVALID_ADDR) return 0;
90
91 offset_t contentSize = getContentSize();
92 if (contentSize < startOffset) return 0;
93
-
94 bufsize_t limit = static_cast<bufsize_t>(contentSize - startOffset);
+
94 bufsize_t limit = static_cast<bufsize_t>(contentSize - startOffset);
95 return limit;
96}
97
98
-
99BYTE* AbstractByteBuffer::getContentAtPtr(BYTE *ptr, bufsize_t size, bool allowExceptions)
+
99BYTE* AbstractByteBuffer::getContentAtPtr(BYTE *ptr, bufsize_t size, bool allowExceptions)
100{
101 offset_t offset = getOffset(ptr, allowExceptions);
102 if (offset == INVALID_ADDR) return NULL;
@@ -213,7 +213,7 @@ $(function(){ initResizable(false); });
106
-
107bool AbstractByteBuffer::setBufferedValue(BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions)
+
107bool AbstractByteBuffer::setBufferedValue(BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions)
108{
109 if (dstPtr == srcPtr) return false;
110 if (dstPtr == NULL || srcPtr == NULL) return false;
@@ -225,8 +225,8 @@ $(function(){ initResizable(false); });
116 return false;
117 }
118
-
119 bufsize_t size = srcSize + paddingSize;
-
120 bufsize_t dstMaxSize = static_cast<bufsize_t>(getContentSize() - dstStart);
+
119 bufsize_t size = srcSize + paddingSize;
+
120 bufsize_t dstMaxSize = static_cast<bufsize_t>(getContentSize() - dstStart);
121 if (dstMaxSize < size) {
122 //throw BufferException("Cannot copy: too big content size!");
123 size = dstMaxSize;
@@ -246,7 +246,7 @@ $(function(){ initResizable(false); });
135bool AbstractByteBuffer::setStringValue(offset_t rawOffset, QString newText)
136{
137 std::string newTextStr = newText.toStdString();
-
138 const bufsize_t newTextLen = static_cast<bufsize_t>(newTextStr.length());
+
138 const bufsize_t newTextLen = static_cast<bufsize_t>(newTextStr.length());
139
140 BYTE *dstPtr = this->getContentAt(rawOffset, newTextLen + 1); //with terminating '\0'
141 if (!dstPtr) {
@@ -260,7 +260,7 @@ $(function(){ initResizable(false); });
149
-
150QString AbstractByteBuffer::getStringValue(offset_t rawOffset, bufsize_t size, bool acceptNonTerminated)
+
150QString AbstractByteBuffer::getStringValue(offset_t rawOffset, bufsize_t size, bool acceptNonTerminated)
151{
152 if (size == BUFSIZE_MAX) {
153 size = this->getContentSize() - rawOffset;
@@ -274,10 +274,10 @@ $(function(){ initResizable(false); });
161
- +
163{
-
164 const bufsize_t unitSize = sizeof(WORD);
-
165 bufsize_t size = unitSize;
+
164 const bufsize_t unitSize = sizeof(WORD);
+
165 bufsize_t size = unitSize;
166 if (len != BUFSIZE_MAX) {
167 size = len * unitSize;
168 }
@@ -288,10 +288,10 @@ $(function(){ initResizable(false); });
173
-
174QString AbstractByteBuffer::getWAsciiStringValue(offset_t rawOffset, bufsize_t len, bool acceptNonTerminated)
+
174QString AbstractByteBuffer::getWAsciiStringValue(offset_t rawOffset, bufsize_t len, bool acceptNonTerminated)
175{
-
176 const bufsize_t unitSize = sizeof(WORD);
-
177 bufsize_t size = unitSize;
+
176 const bufsize_t unitSize = sizeof(WORD);
+
177 bufsize_t size = unitSize;
178 if (len != BUFSIZE_MAX && len != -1) {
179 size = len * unitSize;
180 }
@@ -304,12 +304,12 @@ $(function(){ initResizable(false); });
187
- +
189{
190 BYTE* area = this->getContentAt(rawOffset, size);
191 if (area == NULL) return false;
192
-
193 for (bufsize_t i = 0; i < size; i++) {
+
193 for (bufsize_t i = 0; i < size; i++) {
194 if (area[i] != 0) return false;
195 }
196 return true;
@@ -319,7 +319,7 @@ $(function(){ initResizable(false); });
200{
-
201 bufsize_t bufSize = this->getContentSize();
+
201 bufsize_t bufSize = this->getContentSize();
202 BYTE* buf = this->getContent();
203
204 if (buf == NULL) return false;
@@ -335,9 +335,9 @@ $(function(){ initResizable(false); });
212 if (isValid(buf) == false || isValid(this) == false) return false;
213 if (buf == NULL || buf->getContent() == NULL) return false;
214 BYTE* source = buf->getContent();
-
215 bufsize_t sizeToFill = buf->getContentSize();
+
215 bufsize_t sizeToFill = buf->getContentSize();
216
-
217 bufsize_t mySize = this->getContentSize();
+
217 bufsize_t mySize = this->getContentSize();
218 if (static_cast<offset_t>(mySize) <= rawOffset) {
220 "Too far offset requested: %llX while mySize: %lX",
@@ -359,7 +359,7 @@ $(function(){ initResizable(false); });
236
- +
238{
239 if (rawOffset == INVALID_ADDR || size == 0) return false;
240
@@ -381,7 +381,7 @@ $(function(){ initResizable(false); });
256
- +
258{
259 if (rawOffset == INVALID_ADDR || size == 0) return false;
260
@@ -425,7 +425,7 @@ $(function(){ initResizable(false); });
296
-
297uint64_t AbstractByteBuffer::getNumValue(offset_t offset, bufsize_t size, bool* isOk)
+
297uint64_t AbstractByteBuffer::getNumValue(offset_t offset, bufsize_t size, bool* isOk)
298{
299 if (isOk) (*isOk) = false;
300 if (size == 0 || offset == INVALID_ADDR) return (-1);
@@ -459,7 +459,7 @@ $(function(){ initResizable(false); });
326
-
327bool AbstractByteBuffer::setNumValue(offset_t offset, bufsize_t size, uint64_t newVal)
+
327bool AbstractByteBuffer::setNumValue(offset_t offset, bufsize_t size, uint64_t newVal)
328{
329 if (size == 0 || offset == INVALID_ADDR) return false;
330 void* ptr = this->getContentAt(offset, size);
@@ -531,7 +531,7 @@ $(function(){ initResizable(false); });
394
- +
396{
397 BYTE *contentPart = this->getContentAt(offset, contentSize);
398 if (!contentPart) return 0; //invalid offset/size
@@ -555,7 +555,7 @@ $(function(){ initResizable(false); });
415//--------------------------------------------
416
- +
418 : parent(v_parent), offset(v_offset), size(v_size)
419{
420 if (v_parent == NULL) throw BufferException("Cannot make subBuffer for NULL buffer!");
@@ -563,14 +563,14 @@ $(function(){ initResizable(false); });
422
- +
424{
-
425 bufsize_t maxSize = this->parent->getContentSize();
+
425 bufsize_t maxSize = this->parent->getContentSize();
426 if (offset > maxSize) {
427 return 0;
428 }
429 if (offset + size > maxSize) {
-
430 bufsize_t trimedSize = maxSize - offset;
+
430 bufsize_t trimedSize = maxSize - offset;
431 return trimedSize;
432 }
433 return size;
@@ -587,9 +587,9 @@ $(function(){ initResizable(false); });
bool _setNumValue(void *ptr, INT_TYPE nVal)
const bufsize_t BUFSIZE_MAX
-
uint32_t bufsize_t
const offset_t INVALID_ADDR
uint64_t offset_t
+
size_t bufsize_t
virtual bufsize_t getContentSize()=0
bufsize_t getMaxSizeFromOffset(offset_t startOffset)
diff --git a/_abstract_byte_buffer_8h.html b/_abstract_byte_buffer_8h.html index aadb079f..7eabc145 100644 --- a/_abstract_byte_buffer_8h.html +++ b/_abstract_byte_buffer_8h.html @@ -134,19 +134,19 @@ Macros - - + +

Typedefs

typedef uint32_t bufsize_t
 
typedef size_t bufsize_t
 
typedef uint64_t offset_t
 
- +

Functions

bufsize_t buf_util::roundupToUnit (bufsize_t size, bufsize_t unit)
bufsize_t buf_util::roundupToUnit (bufsize_t size, bufsize_t unit)
 
- + @@ -229,14 +229,14 @@ Variables

Typedef Documentation

- -

◆ bufsize_t

+ +

◆ bufsize_t

Variables

const bufsize_t BUFSIZE_MAX = bufsize_t(-1)
const bufsize_t BUFSIZE_MAX = bufsize_t(-1)
 
const offset_t INVALID_ADDR = offset_t(-1)
 
- +
typedef uint32_t bufsize_ttypedef size_t bufsize_t
@@ -269,7 +269,7 @@ Variables
- +
const bufsize_t BUFSIZE_MAX = bufsize_t(-1)const bufsize_t BUFSIZE_MAX = bufsize_t(-1)
diff --git a/_abstract_byte_buffer_8h_source.html b/_abstract_byte_buffer_8h_source.html index 88a8fd97..238b75be 100644 --- a/_abstract_byte_buffer_8h_source.html +++ b/_abstract_byte_buffer_8h_source.html @@ -108,8 +108,8 @@ $(function(){ initResizable(false); });
14#define MASK_TO_DWORD(val) ((val < MAX_DWORD) ? (val & MAX_DWORD) : MAX_DWORD)
15#define MASK_TO_WORD(val) ((val < MAX_WORD) ? (val & MAX_WORD) : MAX_WORD)
16
-
17typedef uint32_t bufsize_t;
- +
17typedef size_t bufsize_t;
+
19
20typedef uint64_t offset_t;
@@ -126,7 +126,7 @@ $(function(){ initResizable(false); });
30
31namespace buf_util {
- +
33};
34
@@ -139,7 +139,7 @@ $(function(){ initResizable(false); });
41 virtual ~AbstractByteBuffer() { }
42
- +
44 virtual BYTE* getContent() = 0;
45 virtual bool isTruncated() { return false; }
46 virtual bool isResized() { return false; }
@@ -147,33 +147,33 @@ $(function(){ initResizable(false); });
48 BYTE operator[](size_t idx);
49
50 virtual offset_t getOffset(void *ptr, bool allowExceptions = false); // validates
-
51 virtual BYTE* getContentAt(offset_t offset, bufsize_t size, bool allowExceptions = false);
-
52 virtual BYTE* getContentAtPtr(BYTE *ptr, bufsize_t size, bool allowExceptions = false);
+
51 virtual BYTE* getContentAt(offset_t offset, bufsize_t size, bool allowExceptions = false);
+
52 virtual BYTE* getContentAtPtr(BYTE *ptr, bufsize_t size, bool allowExceptions = false);
53
-
54 virtual bool setBufferedValue(BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions = false);
+
54 virtual bool setBufferedValue(BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions = false);
55 bool setStringValue(offset_t rawOffset, QString newText);
56
-
57 QString getStringValue(offset_t rawOffset, bufsize_t len = BUFSIZE_MAX, bool acceptNonTerminated = false);
-
58 QString getWStringValue(offset_t rawOffset, bufsize_t len);
-
59 QString getWAsciiStringValue(offset_t rawOffset, bufsize_t len, bool acceptNonTerminated = false);
+
57 QString getStringValue(offset_t rawOffset, bufsize_t len = BUFSIZE_MAX, bool acceptNonTerminated = false);
+
58 QString getWStringValue(offset_t rawOffset, bufsize_t len);
+
59 QString getWAsciiStringValue(offset_t rawOffset, bufsize_t len, bool acceptNonTerminated = false);
60
- - + +
63
-
64 bool isAreaEmpty(offset_t rawOffset, bufsize_t size);
+
64 bool isAreaEmpty(offset_t rawOffset, bufsize_t size);
65 bool fillContent(BYTE filling);
66 bool pasteBuffer(offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc);
67
-
68 bool containsBlock(offset_t rawOffset, bufsize_t size);
-
69 bool intersectsBlock(offset_t rawOffset, bufsize_t size);
+
68 bool containsBlock(offset_t rawOffset, bufsize_t size);
+
69 bool intersectsBlock(offset_t rawOffset, bufsize_t size);
70
-
71 uint64_t getNumValue(offset_t offset, bufsize_t size, bool* isOk);
-
72 bool setNumValue(offset_t offset, bufsize_t size, uint64_t newVal);
+
71 uint64_t getNumValue(offset_t offset, bufsize_t size, bool* isOk);
+
72 bool setNumValue(offset_t offset, bufsize_t size, uint64_t newVal);
73 bool setTextValue(char* textPtr, std::string newText, size_t fieldLimitLen = 0);
74
75 //TODO
-
76 virtual bool resize(bufsize_t newSize) { return false; }
-
77 offset_t substFragmentByFile(offset_t offset, bufsize_t contentSize, QFile &fIn);
+
76 virtual bool resize(bufsize_t newSize) { return false; }
+
77 offset_t substFragmentByFile(offset_t offset, bufsize_t contentSize, QFile &fIn);
78};
79
@@ -183,26 +183,26 @@ $(function(){ initResizable(false); });
83{
84public:
- +
86 virtual ~BufferView() { }
87
-
88 virtual bufsize_t getContentSize();
+
88 virtual bufsize_t getContentSize();
89 virtual BYTE* getContent();
90
-
91 bufsize_t getRequestedSize() const { return size; }
+
91 bufsize_t getRequestedSize() const { return size; }
92
93protected:
- +
97};
98
const bufsize_t BUFSIZE_MAX
const offset_t OFFSET_MAX
-
uint32_t bufsize_t
const offset_t INVALID_ADDR
uint64_t offset_t
+
size_t bufsize_t
diff --git a/_bound_imp_dir_wrapper_8cpp_source.html b/_bound_imp_dir_wrapper_8cpp_source.html index 3dae92d4..64d968af 100644 --- a/_bound_imp_dir_wrapper_8cpp_source.html +++ b/_bound_imp_dir_wrapper_8cpp_source.html @@ -164,11 +164,11 @@ $(function(){ initResizable(false); });
65
- +
67{
68 if (getPtr() == NULL) return 0;
-
69 bufsize_t entrySize = static_cast<bufsize_t>(sizeof(IMAGE_BOUND_IMPORT_DESCRIPTOR));
-
70 return entrySize * static_cast<bufsize_t>(this->entries.size());
+
69 bufsize_t entrySize = static_cast<bufsize_t>(sizeof(IMAGE_BOUND_IMPORT_DESCRIPTOR));
+
70 return entrySize * static_cast<bufsize_t>(this->entries.size());
71}
72
@@ -198,7 +198,7 @@ $(function(){ initResizable(false); });
94
95
- +
97{
98 if (getPtr() == NULL) return 0;
99 return sizeof(IMAGE_BOUND_IMPORT_DESCRIPTOR);
@@ -269,9 +269,9 @@ $(function(){ initResizable(false); });
156}
157
-
uint32_t bufsize_t
const offset_t INVALID_ADDR
uint64_t offset_t
+
size_t bufsize_t
virtual void * getFieldPtr(size_t fieldId, size_t subField)
diff --git a/_bound_imp_dir_wrapper_8h_source.html b/_bound_imp_dir_wrapper_8h_source.html index 01fdcc5d..be83eef0 100644 --- a/_bound_imp_dir_wrapper_8h_source.html +++ b/_bound_imp_dir_wrapper_8h_source.html @@ -108,12 +108,12 @@ $(function(){ initResizable(false); });
11 virtual bool wrap();
12
13 virtual void* getPtr() { return boundImp(); }
-
14 virtual bufsize_t getSize();
+
14 virtual bufsize_t getSize();
15 virtual QString getName() { return "BoundImp"; }
16 virtual size_t getFieldsCount() { return this->entries.size(); }
17
18 virtual void* getFieldPtr(size_t fieldId, size_t subField) { return getSubfieldPtr(fieldId, subField ); }
-
19 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE) { return getSubfieldSize(fieldId, subField); }
+
19 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE) { return getSubfieldSize(fieldId, subField); }
20
21 virtual QString getFieldName(size_t fieldId, size_t subField) { return getSubfieldName(fieldId, subField ); }
22 virtual QString getFieldName(size_t fieldId) { return getFieldName(fieldId, FIELD_NONE); }
@@ -150,7 +150,7 @@ $(function(){ initResizable(false); });
47 bool wrap() { return true; }
48
49 virtual void* getPtr();
-
50 virtual bufsize_t getSize();
+
50 virtual bufsize_t getSize();
51 virtual QString getName();
52 virtual char* getLibraryName();
53 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
@@ -160,7 +160,7 @@ $(function(){ initResizable(false); });
57 virtual QString getFieldName(size_t fieldId);
58};
-
uint32_t bufsize_t
+
size_t bufsize_t
#define FIELD_NONE
virtual void * getFieldPtr(size_t fieldId, size_t subField)
diff --git a/_byte_buffer_8cpp.html b/_byte_buffer_8cpp.html index 97724a96..604857f7 100644 --- a/_byte_buffer_8cpp.html +++ b/_byte_buffer_8cpp.html @@ -94,6 +94,7 @@ $(function(){ initResizable(false); });
#include "ByteBuffer.h"
#include <iostream>
+#include <limits.h>

Go to the source code of this file.

diff --git a/_byte_buffer_8cpp_source.html b/_byte_buffer_8cpp_source.html index 3a38f313..49f6ab11 100644 --- a/_byte_buffer_8cpp_source.html +++ b/_byte_buffer_8cpp_source.html @@ -94,106 +94,109 @@ $(function(){ initResizable(false); });
Go to the documentation of this file.
1#include "ByteBuffer.h"
2#include <iostream>
-
3
-
- -
5 : ByteBuffer()
-
6{
-
7 if (v_size == 0) throw BufferException("Zero size requested");
-
8
-
9 this->content = allocContent(v_size, v_padding);
-
10 if (this->content) {
-
11 this->padding = v_padding;
-
12 this->contentSize = v_size;
-
13 this->originalSize = v_size;
-
14 }
-
15}
+
3#include <limits.h>
+
4
+
+ +
6 : ByteBuffer()
+
7{
+
8 if (v_size == 0) throw BufferException("Zero size requested");
+
9
+
10 this->content = allocContent(v_size, v_padding);
+
11 if (this->content) {
+
12 this->padding = v_padding;
+
13 this->contentSize = v_size;
+
14 this->originalSize = v_size;
+
15 }
+
16}
-
16
-
-
17ByteBuffer::ByteBuffer(BYTE* v_content, bufsize_t v_size, bufsize_t v_padding)
-
18 : ByteBuffer(v_size, v_padding)
-
19{
-
20 if (v_size == 0) throw BufferException("Zero size requested");
-
21 if (this->content && v_content) {
-
22 ::memcpy(this->content, v_content, v_size);
-
23 }
-
24}
+
17
+
+
18ByteBuffer::ByteBuffer(BYTE* v_content, bufsize_t v_size, bufsize_t v_padding)
+
19 : ByteBuffer(v_size, v_padding)
+
20{
+
21 if (v_size == 0) throw BufferException("Zero size requested");
+
22 if (this->content && v_content) {
+
23 ::memcpy(this->content, v_content, v_size);
+
24 }
+
25}
-
25
-
- -
27 : ByteBuffer()
-
28{
-
29 if (!v_parent) throw BufferException("Cannot make subBuffer for NULL buffer!");
-
30 if (!v_size) throw BufferException("Cannot make 0 size buffer!");
-
31
-
32 bufsize_t parentSize = v_parent->getContentSize();
-
33
-
34 bufsize_t copySize = v_size < parentSize ? v_size : parentSize;
-
35 bufsize_t allocSize = v_size > parentSize ? v_size : parentSize;
-
36
-
37 BYTE *bContent = v_parent->getContentAt(v_offset, copySize);
-
38 if (!bContent) throw BufferException("Cannot make Buffer for NULL content!");
-
39
-
40 this->content = allocContent(allocSize, v_padding);
-
41 if (this->content) {
-
42 this->padding = v_padding;
-
43 this->contentSize = allocSize;
-
44 this->originalSize = this->contentSize;
-
45 ::memcpy(this->content, bContent, copySize);
-
46 }
-
47}
+
26
+
+ +
28 : ByteBuffer()
+
29{
+
30 if (!v_parent) throw BufferException("Cannot make subBuffer for NULL buffer!");
+
31 if (!v_size) throw BufferException("Cannot make 0 size buffer!");
+
32
+
33 bufsize_t parentSize = v_parent->getContentSize();
+
34
+
35 bufsize_t copySize = v_size < parentSize ? v_size : parentSize;
+
36 bufsize_t allocSize = v_size > parentSize ? v_size : parentSize;
+
37
+
38 BYTE *bContent = v_parent->getContentAt(v_offset, copySize);
+
39 if (!bContent) throw BufferException("Cannot make Buffer for NULL content!");
+
40
+
41 this->content = allocContent(allocSize, v_padding);
+
42 if (this->content) {
+
43 this->padding = v_padding;
+
44 this->contentSize = allocSize;
+
45 this->originalSize = this->contentSize;
+
46 ::memcpy(this->content, bContent, copySize);
+
47 }
+
48}
-
48
-
- -
50{
-
51 if (!v_size) throw BufferException("Zero size requested");
-
52
-
53 const bufsize_t allocSize = v_size + v_padding;
-
54 const bufsize_t sizeDiff = (allocSize > this->contentSize) ? (allocSize - this->contentSize) : 0;
-
55
-
56 BYTE* content = reinterpret_cast<BYTE*>(::realloc((void*)this->content, allocSize));
-
57 if (!content) {
-
58 throw BufferException("Cannot allocate buffer of size: 0x" + QString::number(allocSize, 16));
-
59 }
-
60 if (sizeDiff) {
-
61 ::memset(content + this->contentSize, 0, sizeDiff);
-
62 }
-
63 return content;
-
64}
+
49
+
+ +
51{
+
52 if (!v_size) throw BufferException("Zero size requested");
+
53 if (v_size >= BUFSIZE_MAX || v_size >= LLONG_MAX) throw BufferException("Too big size requested");
+
54
+
55 const bufsize_t allocSize = v_size + v_padding;
+
56 const bufsize_t sizeDiff = (allocSize > this->contentSize) ? (allocSize - this->contentSize) : 0;
+
57
+
58 BYTE* content = reinterpret_cast<BYTE*>(::realloc((void*)this->content, allocSize));
+
59 if (!content) {
+
60 throw BufferException("Cannot allocate buffer of size: 0x" + QString::number(allocSize, 16));
+
61 }
+
62 if (sizeDiff) {
+
63 ::memset(content + this->contentSize, 0, sizeDiff);
+
64 }
+
65 return content;
+
66}
-
65
-
- -
67{
-
68 if (newSize == this->contentSize) {
-
69 return true;
-
70 }
-
71 BYTE *newContent = nullptr;
-
72 bool isOk = true;
-
73 try {
-
74 newContent = allocContent(newSize, this->padding);
-
75 if (newContent) {
-
76 this->content = newContent;
-
77 this->contentSize = newSize;
-
78 }
-
79 } catch (const BufferException&) {
-
80 isOk = false;
-
81 }
-
82 return isOk;
-
83}
+
67
+
+ +
69{
+
70 if (newSize == this->contentSize) {
+
71 return true;
+
72 }
+
73 BYTE *newContent = nullptr;
+
74 bool isOk = true;
+
75 try {
+
76 newContent = allocContent(newSize, this->padding);
+
77 if (newContent) {
+
78 this->content = newContent;
+
79 this->contentSize = newSize;
+
80 }
+
81 } catch (const BufferException&) {
+
82 isOk = false;
+
83 }
+
84 return isOk;
+
85}
-
84
-
- -
86{
-
87 ::free(this->content);
-
88}
+
86
+
+ +
88{
+
89 ::free(this->content);
+
90}
-
uint32_t bufsize_t
+
const bufsize_t BUFSIZE_MAX
uint64_t offset_t
+
size_t bufsize_t
virtual bufsize_t getContentSize()=0
@@ -201,11 +204,11 @@ $(function(){ initResizable(false); });
bufsize_t originalSize
Definition ByteBuffer.h:32
BYTE * content
Definition ByteBuffer.h:28
-
virtual ~ByteBuffer()
+
virtual ~ByteBuffer()
bufsize_t contentSize
Definition ByteBuffer.h:29
-
BYTE * allocContent(bufsize_t v_size, bufsize_t padding)
+
BYTE * allocContent(bufsize_t v_size, bufsize_t padding)
bufsize_t padding
Definition ByteBuffer.h:30
-
virtual bool resize(bufsize_t newSize)
+
virtual bool resize(bufsize_t newSize)
diff --git a/_byte_buffer_8h_source.html b/_byte_buffer_8h_source.html index 5b66edda..00b486c9 100644 --- a/_byte_buffer_8h_source.html +++ b/_byte_buffer_8h_source.html @@ -107,31 +107,31 @@ $(function(){ initResizable(false); });
11 {}
12
- -
14 ByteBuffer(BYTE *v_content, bufsize_t v_size, bufsize_t padding = DEFAULT_PADDING);
- + +
14 ByteBuffer(BYTE *v_content, bufsize_t v_size, bufsize_t padding = DEFAULT_PADDING);
+
16
17 virtual ~ByteBuffer();
18
-
19 virtual bufsize_t getContentSize() { return contentSize; }
+
19 virtual bufsize_t getContentSize() { return contentSize; }
20 virtual BYTE* getContent() { return content; }
-
21 virtual bool resize(bufsize_t newSize);
+
21 virtual bool resize(bufsize_t newSize);
22
23 virtual bool isResized() { return originalSize != contentSize; }
24
25protected:
- +
27
28 BYTE *content;
- - + +
31
- +
33};
-
uint32_t bufsize_t
uint64_t offset_t
+
size_t bufsize_t
#define DEFAULT_PADDING
Definition ByteBuffer.h:4
@@ -140,11 +140,11 @@ $(function(){ initResizable(false); });
virtual bool isResized()
Definition ByteBuffer.h:23
bufsize_t originalSize
Definition ByteBuffer.h:32
BYTE * content
Definition ByteBuffer.h:28
-
virtual ~ByteBuffer()
+
virtual ~ByteBuffer()
bufsize_t contentSize
Definition ByteBuffer.h:29
-
BYTE * allocContent(bufsize_t v_size, bufsize_t padding)
+
BYTE * allocContent(bufsize_t v_size, bufsize_t padding)
bufsize_t padding
Definition ByteBuffer.h:30
-
virtual bool resize(bufsize_t newSize)
+
virtual bool resize(bufsize_t newSize)
diff --git a/_clr_dir_wrapper_8cpp_source.html b/_clr_dir_wrapper_8cpp_source.html index 760c9db8..4611a7f2 100644 --- a/_clr_dir_wrapper_8cpp_source.html +++ b/_clr_dir_wrapper_8cpp_source.html @@ -160,7 +160,7 @@ $(function(){ initResizable(false); });
63
- +
65{
66 if (!getPtr()) return 0;
67 return sizeof(pe::IMAGE_COR20_HEADER);
@@ -348,8 +348,8 @@ $(function(){ initResizable(false); });
233}
234
-
uint32_t bufsize_t
uint64_t offset_t
+
size_t bufsize_t
static std::set< DWORD > getFlagsSet(DWORD flags)
virtual size_t getFieldsCount()
diff --git a/_clr_dir_wrapper_8h_source.html b/_clr_dir_wrapper_8h_source.html index bc265bb8..9d7ceca6 100644 --- a/_clr_dir_wrapper_8h_source.html +++ b/_clr_dir_wrapper_8h_source.html @@ -141,7 +141,7 @@ $(function(){ initResizable(false); });
42 bool wrap();
43
44 virtual void* getPtr();
-
45 virtual bufsize_t getSize();
+
45 virtual bufsize_t getSize();
46 virtual QString getName();
47 virtual size_t getFieldsCount();
48 virtual size_t getSubFieldsCount() { return 1; }
@@ -159,7 +159,7 @@ $(function(){ initResizable(false); });
60};
61
-
uint32_t bufsize_t
+
size_t bufsize_t
#define FIELD_NONE
ClrDirWrapper(PEFile *pe)
diff --git a/_d_o_s_exe_8h_source.html b/_d_o_s_exe_8h_source.html index 04115b1d..0cb89ccc 100644 --- a/_d_o_s_exe_8h_source.html +++ b/_d_o_s_exe_8h_source.html @@ -136,7 +136,7 @@ $(function(){ initResizable(false); });
37 virtual offset_t rvaToRaw(offset_t rva) { return rva + codeOffset(); } //TODO
38
- +
40 {
41 if (aType == Executable::RAW)
42 return getContentSize();
@@ -144,7 +144,7 @@ $(function(){ initResizable(false); });
44 }
45
-
46 virtual bufsize_t getAlignment(Executable::addr_type aType) const { return 0; } //TODO
+
46 virtual bufsize_t getAlignment(Executable::addr_type aType) const { return 0; } //TODO
47 virtual offset_t getImageBase(bool recalculate = false) { return m_dosHdr->e_cs; }
49
@@ -156,7 +156,7 @@ $(function(){ initResizable(false); });
55protected:
56 offset_t codeOffset() { return static_cast<offset_t> (m_dosHdr->e_cparhdr) * DOS_PARAGRAPH; }
- +
58 {
59 const size_t unit_size = 0x200;
60 WORD size = m_dosHdr->e_cp * unit_size;
@@ -164,7 +164,7 @@ $(function(){ initResizable(false); });
62 WORD trimSize = unit_size - m_dosHdr->e_cblp;
63 size -= trimSize;
64 }
-
65 return static_cast<bufsize_t> (size);
+
65 return static_cast<bufsize_t> (size);
66 }
67
@@ -173,9 +173,9 @@ $(function(){ initResizable(false); });
70 IMAGE_DOS_HEADER* m_dosHdr;
71};
-
uint32_t bufsize_t
const offset_t INVALID_ADDR
uint64_t offset_t
+
size_t bufsize_t
#define DOS_PARAGRAPH
Definition DOSExe.h:6
diff --git a/_data_dir_entry_wrapper_8cpp_source.html b/_data_dir_entry_wrapper_8cpp_source.html index ea8f493f..e5b603ae 100644 --- a/_data_dir_entry_wrapper_8cpp_source.html +++ b/_data_dir_entry_wrapper_8cpp_source.html @@ -131,7 +131,7 @@ $(function(){ initResizable(false); });
32
-
33bufsize_t DataDirEntryWrapper::getDirEntrySize(bool trimToExeSize)
+
33bufsize_t DataDirEntryWrapper::getDirEntrySize(bool trimToExeSize)
34{
35 DataDirWrapper *dDir = dynamic_cast<DataDirWrapper*>(m_PE->getWrapper(PEFile::WR_DATADIR));
36 const size_t recordsCount = dDir ? dDir->getDirsCount() : 0;
@@ -140,7 +140,7 @@ $(function(){ initResizable(false); });
39 IMAGE_DATA_DIRECTORY *d = getDataDirectory();
40 if (!d) return 0;
41
-
42 bufsize_t dirSize = static_cast<bufsize_t>(d[this->entryType].Size);
+
42 bufsize_t dirSize = static_cast<bufsize_t>(d[this->entryType].Size);
43 if (!trimToExeSize) {
44 return dirSize;
45 }
@@ -152,15 +152,15 @@ $(function(){ initResizable(false); });
51 if (dirRaw == INVALID_ADDR) {
52 return 0;
53 }
-
54 bufsize_t fullSize = this->m_Exe->getContentSize();
-
55 bufsize_t remainingSize = bufsize_t(fullSize - dirRaw);
+
54 bufsize_t fullSize = this->m_Exe->getContentSize();
+
55 bufsize_t remainingSize = bufsize_t(fullSize - dirRaw);
56
57 return (dirSize < remainingSize) ? dirSize : remainingSize;
58}
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
DataDirEntryWrapper.h
PEFile.h
DataDirEntryWrapper::PEFile
friend class PEFile
Definition DataDirEntryWrapper.h:22
diff --git a/_data_dir_entry_wrapper_8h_source.html b/_data_dir_entry_wrapper_8h_source.html index b814f33c..136908f4 100644 --- a/_data_dir_entry_wrapper_8h_source.html +++ b/_data_dir_entry_wrapper_8h_source.html @@ -106,7 +106,7 @@ $(function(){ initResizable(false); });
11 IMAGE_DATA_DIRECTORY* getDataDirectory();
12
13 offset_t getDirEntryAddress();
-
14 bufsize_t getDirEntrySize(bool trimToExeSize=false);
+
14 bufsize_t getDirEntrySize(bool trimToExeSize=false);
15 int getDirEntryType() { return this->entryType; }
16
17protected:
@@ -118,8 +118,8 @@ $(function(){ initResizable(false); });
23};
24
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
PENodeWrapper.h
DataDirEntryWrapper::getDirEntryType
int getDirEntryType()
Definition DataDirEntryWrapper.h:15
DataDirEntryWrapper::PEFile
friend class PEFile
Definition DataDirEntryWrapper.h:22
diff --git a/_data_dir_wrapper_8cpp_source.html b/_data_dir_wrapper_8cpp_source.html index 867c6430..90782825 100644 --- a/_data_dir_wrapper_8cpp_source.html +++ b/_data_dir_wrapper_8cpp_source.html @@ -107,11 +107,11 @@ $(function(){ initResizable(false); });
12
-
13bufsize_t DataDirWrapper::getSize()
+
13bufsize_t DataDirWrapper::getSize()
14{
15 if (m_PE == NULL) return 0;
16 const size_t count = getDirsCount();
-
17 const bufsize_t size = sizeof(IMAGE_DATA_DIRECTORY) * count;
+
17 const bufsize_t size = sizeof(IMAGE_DATA_DIRECTORY) * count;
18 return size;
19}
@@ -153,7 +153,7 @@ $(function(){ initResizable(false); });
52
-
53bufsize_t DataDirWrapper::getFieldSize(size_t fieldId, size_t subField)
+
53bufsize_t DataDirWrapper::getFieldSize(size_t fieldId, size_t subField)
54{
55 if (fieldId >= getDirsCount()) return getSize();
56
@@ -205,8 +205,8 @@ $(function(){ initResizable(false); });
98 return Executable::RVA;
99}
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
DataDirWrapper.h
PEFile.h
DataDirWrapper::getFieldName
virtual QString getFieldName(size_t fieldId)
Definition DataDirWrapper.cpp:71
diff --git a/_data_dir_wrapper_8h_source.html b/_data_dir_wrapper_8h_source.html index 8b1b3dad..cebd5843 100644 --- a/_data_dir_wrapper_8h_source.html +++ b/_data_dir_wrapper_8h_source.html @@ -114,13 +114,13 @@ $(function(){ initResizable(false); });
17
18 /* full structure boundaries */
19 virtual void* getPtr();
-
20 virtual bufsize_t getSize();
+
20 virtual bufsize_t getSize();
21 virtual QString getName() { return "Data Directory"; }
22 virtual size_t getFieldsCount() { return getDirsCount(); }
23
24 /* specific field boundaries */
25 virtual void* getFieldPtr(size_t fieldId, size_t subField);
-
26 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField);
+
26 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField);
27 virtual QString getFieldName(size_t fieldId);
28 virtual Executable::addr_type containsAddrType(size_t fieldId, size_t subField = FIELD_NONE);
29
@@ -128,7 +128,7 @@ $(function(){ initResizable(false); });
31 size_t getDirsCount();
32};
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
PENodeWrapper.h
DataDirWrapper::getFieldName
virtual QString getFieldName(size_t fieldId)
Definition DataDirWrapper.cpp:71
diff --git a/_debug_dir_wrapper_8cpp_source.html b/_debug_dir_wrapper_8cpp_source.html index 474e46c2..11ba3a0f 100644 --- a/_debug_dir_wrapper_8cpp_source.html +++ b/_debug_dir_wrapper_8cpp_source.html @@ -166,7 +166,7 @@ $(function(){ initResizable(false); });
65
-
66bufsize_t DebugDirEntryWrapper::getSize()
+
66bufsize_t DebugDirEntryWrapper::getSize()
67{
68 if (!getPtr()) return 0;
69 return sizeof(IMAGE_DEBUG_DIRECTORY);
@@ -320,7 +320,7 @@ $(function(){ initResizable(false); });
199
-
200bufsize_t DebugDirCVEntryWrapper::getSize()
+
200bufsize_t DebugDirCVEntryWrapper::getSize()
201{
202 IMAGE_DEBUG_DIRECTORY* d = parentDir->debugDir();
203 if (d == NULL) return 0;
@@ -457,8 +457,8 @@ $(function(){ initResizable(false); });
324 return "";
325}
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
DebugDirWrapper.h
DebugDirCVEntryWrapper::translateFieldContent
QString translateFieldContent(size_t fieldId)
Definition DebugDirWrapper.cpp:309
DebugDirCVEntryWrapper::getFieldName
virtual QString getFieldName(size_t fieldId)
Definition DebugDirWrapper.cpp:298
diff --git a/_debug_dir_wrapper_8h_source.html b/_debug_dir_wrapper_8h_source.html index 191324f9..a50b3859 100644 --- a/_debug_dir_wrapper_8h_source.html +++ b/_debug_dir_wrapper_8h_source.html @@ -110,7 +110,7 @@ $(function(){ initResizable(false); });
13 virtual void* getPtr() { return getDebugDir(); }
14
-
15 virtual bufsize_t getSize()
+
15 virtual bufsize_t getSize()
16 {
17 return getDirEntrySize();
18 }
@@ -128,7 +128,7 @@ $(function(){ initResizable(false); });
27 virtual void* getFieldPtr(size_t fieldId, size_t subField) { return getSubfieldPtr(fieldId, subField ); }
28 virtual QString getFieldName(size_t fieldId, size_t subField) { return getSubfieldName(fieldId, subField ); }
29 virtual QString getFieldName(size_t fieldId) { return getFieldName(fieldId, FIELD_NONE); }
-
30 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE) { return getSubfieldSize(fieldId, subField); }
+
30 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE) { return getSubfieldSize(fieldId, subField); }
31
32 // debug dir only
33 bool isRepro();
@@ -202,7 +202,7 @@ $(function(){ initResizable(false); });
91 bool wrap();
92
93 virtual void* getPtr();
-
94 virtual bufsize_t getSize();
+
94 virtual bufsize_t getSize();
95
96 virtual QString getName()
@@ -270,7 +270,7 @@ $(function(){ initResizable(false); });
149
150 // full structure boundaries
151 virtual void* getPtr();
-
152 virtual bufsize_t getSize();
+
152 virtual bufsize_t getSize();
153
154 virtual QString getName() { return "CodeView Info"; }
155 virtual size_t getFieldsCount() { return getPtr() ? FIELD_COUNTER : 0; }
@@ -290,9 +290,9 @@ $(function(){ initResizable(false); });
169 DebugDirEntryWrapper* parentDir;
170};
-
uint32_t bufsize_t
const offset_t INVALID_ADDR
uint64_t offset_t
+
size_t bufsize_t
#define FIELD_NONE
friend class PEFile
diff --git a/_delay_imp_dir_wrapper_8cpp_source.html b/_delay_imp_dir_wrapper_8cpp_source.html index 09346a3b..2b6cc550 100644 --- a/_delay_imp_dir_wrapper_8cpp_source.html +++ b/_delay_imp_dir_wrapper_8cpp_source.html @@ -118,7 +118,7 @@ $(function(){ initResizable(false); });
23
-
24void* DelayImpDirWrapper::firstDelayLd(bufsize_t size)
+
24void* DelayImpDirWrapper::firstDelayLd(bufsize_t size)
25{
26 offset_t rva = getDirEntryAddress();
27
@@ -152,21 +152,21 @@ $(function(){ initResizable(false); });
53{
-
54 bufsize_t size = getEntrySize();
+
54 bufsize_t size = getEntrySize();
55 return firstDelayLd(size);
56}
57
- +
59{
-
60 bufsize_t entriesNum = static_cast<bufsize_t>(this->getEntriesCount()) + 1; //entries + terminating field
+
60 bufsize_t entriesNum = static_cast<bufsize_t>(this->getEntriesCount()) + 1; //entries + terminating field
61 return getEntrySize() * entriesNum;
62}
63
- +
65{
66 return sizeof(pe::IMAGE_DELAY_LOAD);
67}
@@ -235,7 +235,7 @@ $(function(){ initResizable(false); });
124
- +
126{
127 if (getPtr() == NULL) return 0;
128 return sizeof(pe::IMAGE_DELAY_LOAD);
@@ -411,7 +411,7 @@ $(function(){ initResizable(false); });
278 if (isOk && offset != INVALID_ADDR && offset != 0) {
279 offset += (this->entryNum * ptrLen());
280 Executable::addr_type aT = m_Exe->detectAddrType(offset, Executable::RVA);
-
281 BYTE *ptr = m_Exe->getContentAt(offset, aT, static_cast<bufsize_t>(ptrLen()));
+
281 BYTE *ptr = m_Exe->getContentAt(offset, aT, static_cast<bufsize_t>(ptrLen()));
282 return ptr;
283 }
284 return NULL;
@@ -445,7 +445,7 @@ $(function(){ initResizable(false); });
308
-
309bufsize_t DelayImpFuncWrapper::getFieldSize(size_t fieldId, size_t subField)
+
309bufsize_t DelayImpFuncWrapper::getFieldSize(size_t fieldId, size_t subField)
310{
311 if (!m_Exe) return 0;
312 if (m_Exe->getBitMode() == Executable::BITS_64) {
@@ -484,9 +484,9 @@ $(function(){ initResizable(false); });
342 BYTE *ptr = m_Exe->getContentAt(addr, aT, sizeof(IMAGE_IMPORT_BY_NAME));
343 return (IMAGE_IMPORT_BY_NAME*) ptr;
344}
-
uint32_t bufsize_t
const offset_t INVALID_ADDR
uint64_t offset_t
+
size_t bufsize_t
offset_t getDirEntryAddress()
diff --git a/_delay_imp_dir_wrapper_8h_source.html b/_delay_imp_dir_wrapper_8h_source.html index 22095bad..6a7f0f50 100644 --- a/_delay_imp_dir_wrapper_8h_source.html +++ b/_delay_imp_dir_wrapper_8h_source.html @@ -109,7 +109,7 @@ $(function(){ initResizable(false); });
13
14 virtual void* getPtr();
-
15 virtual bufsize_t getSize();
+
15 virtual bufsize_t getSize();
16 virtual QString getName() { return "DelayImports"; }
17
18protected:
@@ -119,8 +119,8 @@ $(function(){ initResizable(false); });
22 bool is32() { return !is64(); }
23
24 pe::IMAGE_DELAY_LOAD* firstDelayLd() { return (pe::IMAGE_DELAY_LOAD*) firstDelayLd(sizeof(pe::IMAGE_DELAY_LOAD)); }
-
25 void* firstDelayLd(bufsize_t size);
-
26 bufsize_t getEntrySize();
+
25 void* firstDelayLd(bufsize_t size);
+
26 bufsize_t getEntrySize();
27
28friend class DelayImpEntryWrapper;
29};
@@ -153,7 +153,7 @@ $(function(){ initResizable(false); });
50 //bool wrap();
51
52 virtual void* getPtr();
-
53 virtual bufsize_t getSize();
+
53 virtual bufsize_t getSize();
54 virtual QString getName();
55 virtual char* getLibraryName();
56 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
@@ -195,7 +195,7 @@ $(function(){ initResizable(false); });
86
87 // full structure boundaries
88 virtual void* getPtr() { return getFieldPtr(IAT_ADDR); }
-
89 virtual bufsize_t getSize() { return sizeof(DWORD); }
+
89 virtual bufsize_t getSize() { return sizeof(DWORD); }
90
91 //virtual QString getName();
92 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
@@ -203,7 +203,7 @@ $(function(){ initResizable(false); });
94
95 // specific field boundaries
96 virtual void* getFieldPtr(size_t fieldId, size_t subField = FIELD_NONE);
-
97 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE);
+
97 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE);
98 virtual QString getFieldName(size_t fieldId);
99 virtual Executable::addr_type containsAddrType(size_t fieldId, size_t subField);
100
@@ -219,8 +219,8 @@ $(function(){ initResizable(false); });
110 DelayImpEntryWrapper* parentDir;
111};
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
ImportBaseDirWrapper.h
DataDirEntryWrapper::PEFile
friend class PEFile
Definition DataDirEntryWrapper.h:22
diff --git a/_dos_hdr_wrapper_8h_source.html b/_dos_hdr_wrapper_8h_source.html index 0c80051c..6699ced7 100644 --- a/_dos_hdr_wrapper_8h_source.html +++ b/_dos_hdr_wrapper_8h_source.html @@ -134,7 +134,7 @@ $(function(){ initResizable(false); });
37
38 /* full structure boundaries */
39 virtual void* getPtr() { return m_Exe->getContent(); }
-
40 virtual bufsize_t getSize() { return sizeof(IMAGE_DOS_HEADER); }
+
40 virtual bufsize_t getSize() { return sizeof(IMAGE_DOS_HEADER); }
41 virtual QString getName() { return "DOS Hdr"; }
42 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
43
@@ -145,7 +145,7 @@ $(function(){ initResizable(false); });
48};
49
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
ExeElementWrapper.h
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
Executable.h
diff --git a/_exception_dir_wrapper_8cpp_source.html b/_exception_dir_wrapper_8cpp_source.html index 7de03ba1..f9e1ed90 100644 --- a/_exception_dir_wrapper_8cpp_source.html +++ b/_exception_dir_wrapper_8cpp_source.html @@ -116,7 +116,7 @@ $(function(){ initResizable(false); });
19{
20 clear();
21 parsedSize = 0;
-
22 bufsize_t maxSize = getDirEntrySize(true);
+
22 bufsize_t maxSize = getDirEntrySize(true);
23 if (maxSize == 0) return false; // nothing to parse
24
25 if (!getPtr()) return false;
@@ -189,7 +189,7 @@ $(function(){ initResizable(false); });
88}
89
-
90bufsize_t ExceptionEntryWrapper::_getSize()
+
90bufsize_t ExceptionEntryWrapper::_getSize()
91{
92 if (this->m_Exe) {
93 if (this->m_Exe->getArch() == Executable::ARCH_INTEL) {
@@ -203,7 +203,7 @@ $(function(){ initResizable(false); });
101}
102
-
103bufsize_t ExceptionEntryWrapper::getSize()
+
103bufsize_t ExceptionEntryWrapper::getSize()
104{
105 if (!this->parentDir) return 0;
106 if (!this->getPtr()) return 0;
@@ -302,8 +302,8 @@ $(function(){ initResizable(false); });
191 return Executable::NOT_ADDR;
192}
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
ARM_EXCEPT_RECORD
struct _ARM_EXCEPT_RECORD ARM_EXCEPT_RECORD
ExceptionDirWrapper.h
ARM_XDATA_FLAG
#define ARM_XDATA_FLAG
Definition ExceptionDirWrapper.h:32
diff --git a/_exception_dir_wrapper_8h_source.html b/_exception_dir_wrapper_8h_source.html index 5aa6d6fd..3a20b026 100644 --- a/_exception_dir_wrapper_8h_source.html +++ b/_exception_dir_wrapper_8h_source.html @@ -111,7 +111,7 @@ $(function(){ initResizable(false); });
14 bool wrap();
15
16 virtual void* getPtr();
-
17 virtual bufsize_t getSize() { return parsedSize; }
+
17 virtual bufsize_t getSize() { return parsedSize; }
18
19 virtual QString getName() { return "Exceptions Dir."; }
20 virtual size_t getFieldsCount() { return entries.size(); }
@@ -121,7 +121,7 @@ $(function(){ initResizable(false); });
24 virtual QString getFieldName(size_t fieldId, size_t subField) { return getSubfieldName(fieldId, subField); }
25
26private:
-
27 bufsize_t parsedSize;
+
27 bufsize_t parsedSize;
28
29friend class ExceptionEntryWrapper;
30};
@@ -163,7 +163,7 @@ $(function(){ initResizable(false); });
58 // full structure boundaries
59 virtual void* getPtr();
60
-
61 virtual bufsize_t getSize();
+
61 virtual bufsize_t getSize();
62 virtual QString getName() { return "Exceptions Block"; }
63 virtual size_t getFieldsCount();
64 virtual size_t getSubFieldsCount() { return 1; }
@@ -174,15 +174,15 @@ $(function(){ initResizable(false); });
69 virtual Executable::addr_type containsAddrType(size_t fieldId, size_t subField);
70
71private:
-
72 bufsize_t _getSize();
+
72 bufsize_t _getSize();
73 offset_t cachedRaw;
74 ExceptionDirWrapper* parentDir;
75};
76
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
DataDirEntryWrapper.h
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
DataDirEntryWrapper::PEFile
friend class PEFile
Definition DataDirEntryWrapper.h:22
diff --git a/_exe_element_wrapper_8cpp_source.html b/_exe_element_wrapper_8cpp_source.html index f5649467..4e054bd8 100644 --- a/_exe_element_wrapper_8cpp_source.html +++ b/_exe_element_wrapper_8cpp_source.html @@ -106,7 +106,7 @@ $(function(){ initResizable(false); });
11
-
12bufsize_t ExeElementWrapper::getFieldSize(size_t fieldId, size_t subField)
+
12bufsize_t ExeElementWrapper::getFieldSize(size_t fieldId, size_t subField)
13{
14 size_t fieldsCount = getFieldsCount();
15 if (fieldId >= fieldsCount) return this->getSize();
@@ -122,7 +122,7 @@ $(function(){ initResizable(false); });
25 int64_t dif = offset_t (nextPtr) - offset_t (ptr);
26 if (dif < 0) return 0;
27
-
28 return (bufsize_t) dif;
+
28 return (bufsize_t) dif;
29 }
30
31 offset_t fullSize = this->getSize();
@@ -130,7 +130,7 @@ $(function(){ initResizable(false); });
33 BYTE *endPtr = bgnPtr + fullSize;
34 offset_t dif = offset_t (endPtr) - offset_t (ptr);
35
-
36 return (bufsize_t) dif;
+
36 return (bufsize_t) dif;
37}
38
@@ -165,7 +165,7 @@ $(function(){ initResizable(false); });
60 void* ptr = getFieldPtr(fieldId, subFieldId);
61 if (ptr == NULL) return WrappedValue(); //EMPTY
62
-
63 bufsize_t fieldSize = getFieldSize(fieldId, subFieldId);
+
63 bufsize_t fieldSize = getFieldSize(fieldId, subFieldId);
64 if (fieldSize == BUFSIZE_MAX || fieldSize == 0) return WrappedValue(); //EMPTY
65
66 offset_t offset = this->getOffset(ptr);
@@ -183,7 +183,7 @@ $(function(){ initResizable(false); });
76 if (this->m_Exe == NULL) return (-1);
77
78 offset_t offset = this->getFieldOffset(fId, subField);
-
79 bufsize_t size = this->getFieldSize(fId, subField);
+
79 bufsize_t size = this->getFieldSize(fId, subField);
80 return this->m_Exe->getNumValue(offset, size, isOk);
81}
@@ -194,7 +194,7 @@ $(function(){ initResizable(false); });
85 if (this->m_Exe == NULL) return false;
86
87 offset_t offset = this->getFieldOffset(fId, subField);
-
88 bufsize_t size = this->getFieldSize(fId, subField);
+
88 bufsize_t size = this->getFieldSize(fId, subField);
89 return this->m_Exe->setNumValue(offset, size, newVal);
90}
@@ -228,9 +228,9 @@ $(function(){ initResizable(false); });
115}
BUFSIZE_MAX
const bufsize_t BUFSIZE_MAX
Definition AbstractByteBuffer.h:18
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
ExeElementWrapper.h
CustomException
Definition CustomException.h:12
ExeElementWrapper::getSize
virtual bufsize_t getSize()=0
diff --git a/_exe_element_wrapper_8h_source.html b/_exe_element_wrapper_8h_source.html index 12211550..e803d0b5 100644 --- a/_exe_element_wrapper_8h_source.html +++ b/_exe_element_wrapper_8h_source.html @@ -112,12 +112,12 @@ $(function(){ initResizable(false); });
17 virtual bool wrap() { return true; }
18
19 /* inherited from: AbstractByteBuffer */
-
20 virtual bufsize_t getContentSize() { return getSize(); }
+
20 virtual bufsize_t getContentSize() { return getSize(); }
21 virtual BYTE* getContent() { return static_cast<BYTE*>(getPtr()); }
22
23 /* full structure boundaries */
24 virtual void* getPtr() = 0;
-
25 virtual bufsize_t getSize() = 0;
+
25 virtual bufsize_t getSize() = 0;
26 virtual QString getName() = 0;
27
28 virtual size_t getFieldsCount() = 0;
@@ -129,7 +129,7 @@ $(function(){ initResizable(false); });
34 /* specific field boundaries */
35 virtual void* getFieldPtr(size_t fieldId, size_t subField) = 0;
36 void* getFieldPtr(size_t fieldId) { return getFieldPtr(fieldId, FIELD_NONE); }
-
37 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE);
+
37 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE);
38 virtual offset_t getFieldOffset(size_t fieldId, size_t subField = FIELD_NONE);
39
40 virtual QString translateFieldContent(size_t fieldId) { return ""; }
@@ -163,8 +163,8 @@ $(function(){ initResizable(false); });
68};
69
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
CustomException.h
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
Executable.h
diff --git a/_exe_node_wrapper_8cpp_source.html b/_exe_node_wrapper_8cpp_source.html index bd8ab5d0..9c450d6c 100644 --- a/_exe_node_wrapper_8cpp_source.html +++ b/_exe_node_wrapper_8cpp_source.html @@ -153,7 +153,7 @@ $(function(){ initResizable(false); });
46
-
47bufsize_t ExeNodeWrapper::getSubfieldSize(size_t fieldId, size_t subField)
+
47bufsize_t ExeNodeWrapper::getSubfieldSize(size_t fieldId, size_t subField)
48{
49 ExeNodeWrapper* entry = this->getEntryAt(fieldId);
50 if (!entry) return 0;
@@ -176,10 +176,10 @@ $(function(){ initResizable(false); });
63bool ExeNodeWrapper::canAddEntry()
64{
65 offset_t nextOffset = getNextEntryOffset();
-
66 bufsize_t entrySize = geEntrySize();
+
66 bufsize_t entrySize = geEntrySize();
67 if (entrySize == 0) return false;
68
-
69 bufsize_t paddedSize = entrySize * 2;
+
69 bufsize_t paddedSize = entrySize * 2;
70 bool haveSpace = this->m_Exe->isAreaEmpty(nextOffset, paddedSize);
71 Logger::append(Logger::D_INFO,
72 "NextOffset = %llX size = %lX, canAdd: %u",
@@ -216,19 +216,19 @@ $(function(){ initResizable(false); });
97 offset_t lastOffset = lastEntry->getOffset();
98 if (lastOffset == INVALID_ADDR) return INVALID_ADDR;
99
-
100 bufsize_t entrySize = lastEntry->getSize();
+
100 bufsize_t entrySize = lastEntry->getSize();
101 offset_t nextOffset = lastOffset + entrySize;
102 return nextOffset;
103}
104
-
105bufsize_t ExeNodeWrapper::geEntrySize()
+
105bufsize_t ExeNodeWrapper::geEntrySize()
106{
107 ExeNodeWrapper *lastEntry = getLastEntry();
108 if (lastEntry == NULL) return 0;
109
-
110 bufsize_t entrySize = lastEntry->getSize();
+
110 bufsize_t entrySize = lastEntry->getSize();
111 return entrySize;
112}
@@ -269,9 +269,9 @@ $(function(){ initResizable(false); });
144}
145
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
ExeNodeWrapper.h
ExeElementWrapper::getSize
virtual bufsize_t getSize()=0
ExeElementWrapper::getFieldSize
virtual bufsize_t getFieldSize(size_t fieldId, size_t subField=FIELD_NONE)
Definition ExeElementWrapper.cpp:12
diff --git a/_exe_node_wrapper_8h_source.html b/_exe_node_wrapper_8h_source.html index a591ca80..80c72dcb 100644 --- a/_exe_node_wrapper_8h_source.html +++ b/_exe_node_wrapper_8h_source.html @@ -120,7 +120,7 @@ $(function(){ initResizable(false); });
25 size_t getEntryId() { return entryNum; }
26
27 virtual void* getSubfieldPtr(size_t fieldId, size_t subField);
-
28 virtual bufsize_t getSubfieldSize(size_t fieldId, size_t subField);
+
28 virtual bufsize_t getSubfieldSize(size_t fieldId, size_t subField);
29 virtual QString getSubfieldName(size_t fieldId, size_t subField);
30
31 virtual QString getFieldName(size_t fieldId) = 0;
@@ -130,7 +130,7 @@ $(function(){ initResizable(false); });
35 virtual ExeNodeWrapper* addEntry(ExeNodeWrapper *entry);
36 ExeNodeWrapper* getLastEntry();
37 virtual offset_t getNextEntryOffset();
-
38 virtual bufsize_t geEntrySize();
+
38 virtual bufsize_t geEntrySize();
39
40 virtual bool isValid() { return true; }
41
@@ -152,8 +152,8 @@ $(function(){ initResizable(false); });
57};
58
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
ExeElementWrapper.h
INVALID_ENTRYNUM
const size_t INVALID_ENTRYNUM
Definition ExeNodeWrapper.h:6
ExeElementWrapper::ExeElementWrapper
ExeElementWrapper(Executable *exe)
Definition ExeElementWrapper.cpp:3
diff --git a/_executable_8cpp_source.html b/_executable_8cpp_source.html index c3cb94f6..44014bd8 100644 --- a/_executable_8cpp_source.html +++ b/_executable_8cpp_source.html @@ -104,7 +104,7 @@ $(function(){ initResizable(false); });
9
-
10BYTE* Executable::getContentAt(offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions)
+
10BYTE* Executable::getContentAt(offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions)
11{
12 offset_t raw = this->toRaw(offset, aType, allowExceptions);
13 if (raw == INVALID_ADDR) {
@@ -266,7 +266,7 @@ $(function(){ initResizable(false); });
157
-
158bufsize_t Executable::getFileSize() const
+
158bufsize_t Executable::getFileSize() const
159{
160 if (!buf) return 0;
161
@@ -279,20 +279,20 @@ $(function(){ initResizable(false); });
168
-
169bool Executable::dumpFragment(offset_t offset, bufsize_t size, QString fileName)
+
169bool Executable::dumpFragment(offset_t offset, bufsize_t size, QString fileName)
170{
171 BufferView *view = new BufferView(this, offset, size);
172 if (!view) return false;
173
-
174 bufsize_t dumpedSize = FileBuffer::dump(fileName, *view, false);
+
174 bufsize_t dumpedSize = FileBuffer::dump(fileName, *view, false);
175 delete view;
176
177 return dumpedSize ? true : false;
178}
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
Executable.h
FileBuffer.h
AbstractByteBuffer::AbstractByteBuffer
AbstractByteBuffer()
Definition AbstractByteBuffer.h:40
diff --git a/_executable_8h_source.html b/_executable_8h_source.html index a41df227..f9f3f585 100644 --- a/_executable_8h_source.html +++ b/_executable_8h_source.html @@ -161,22 +161,22 @@ $(function(){ initResizable(false); });
56 virtual exe_bits getBitMode() { return this->bitMode; }
57 virtual exe_arch getArch() = 0;
58
-
59 virtual bufsize_t getContentSize() { return buf->getContentSize(); }
+
59 virtual bufsize_t getContentSize() { return buf->getContentSize(); }
60 virtual BYTE* getContent() { return buf->getContent(); }
61 //wrapper:
62 virtual offset_t getRawSize() const { return static_cast<offset_t>(buf->getContentSize()); }
63
-
64 BYTE* getContentAtPtr(BYTE* ptr, bufsize_t size, bool allowExceptions = false) { return AbstractByteBuffer::getContentAtPtr(ptr, size, allowExceptions); }
-
65 BYTE* getContentAt(offset_t offset, bufsize_t size, bool allowExceptions = false) { return AbstractByteBuffer::getContentAt(offset, size, allowExceptions); }
+
64 BYTE* getContentAtPtr(BYTE* ptr, bufsize_t size, bool allowExceptions = false) { return AbstractByteBuffer::getContentAtPtr(ptr, size, allowExceptions); }
+
65 BYTE* getContentAt(offset_t offset, bufsize_t size, bool allowExceptions = false) { return AbstractByteBuffer::getContentAt(offset, size, allowExceptions); }
66
-
67 virtual BYTE* getContentAt(offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions = false);
+
67 virtual BYTE* getContentAt(offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions = false);
68//------------------------------
-
69 virtual bufsize_t getMappedSize(Executable::addr_type aType) = 0;
-
70 virtual bufsize_t getAlignment(Executable::addr_type aType) const = 0;
+
69 virtual bufsize_t getMappedSize(Executable::addr_type aType) = 0;
+
70 virtual bufsize_t getAlignment(Executable::addr_type aType) const = 0;
71 virtual offset_t getImageBase(bool recalculate = false) = 0;
72 virtual offset_t getEntryPoint(Executable::addr_type aType = Executable::RVA) = 0;
73
-
74 virtual bufsize_t getImageSize() { return getMappedSize(Executable::VA); }
+
74 virtual bufsize_t getImageSize() { return getMappedSize(Executable::VA); }
75
76 /* All Entry Points of the application, including: main EP, Exports, TLS Callbacks */
@@ -225,7 +225,7 @@ $(function(){ initResizable(false); });
114
115 QString getFileName();
116
-
117 virtual bool resize(bufsize_t newSize) { return buf->resize(newSize); }
+
117 virtual bool resize(bufsize_t newSize) { return buf->resize(newSize); }
118
119 virtual bool isResized() { return buf ? buf->isResized() : false; }
120
@@ -233,9 +233,9 @@ $(function(){ initResizable(false); });
122
123 /* wrappers */
124 AbstractByteBuffer* getFileBuffer() const { return buf; }
-
125 bufsize_t getFileSize() const;
+
125 bufsize_t getFileSize() const;
126
-
127 virtual bool dumpFragment(offset_t offset, bufsize_t size, QString fileName);
+
127 virtual bool dumpFragment(offset_t offset, bufsize_t size, QString fileName);
128
129protected:
130 Executable(AbstractByteBuffer *v_buf, exe_bits v_bitMode);
@@ -246,9 +246,9 @@ $(function(){ initResizable(false); });
135
AbstractByteBuffer.h
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
AbstractByteBuffer
Definition AbstractByteBuffer.h:36
AbstractByteBuffer::AbstractByteBuffer
AbstractByteBuffer()
Definition AbstractByteBuffer.h:40
AbstractByteBuffer::getContentAtPtr
virtual BYTE * getContentAtPtr(BYTE *ptr, bufsize_t size, bool allowExceptions=false)
Definition AbstractByteBuffer.cpp:99
diff --git a/_export_dir_wrapper_8cpp_source.html b/_export_dir_wrapper_8cpp_source.html index 6fa2103e..00d91cb7 100644 --- a/_export_dir_wrapper_8cpp_source.html +++ b/_export_dir_wrapper_8cpp_source.html @@ -184,7 +184,7 @@ $(function(){ initResizable(false); });
83
-
84bufsize_t ExportDirWrapper::getSize()
+
84bufsize_t ExportDirWrapper::getSize()
85{
86 if (getPtr() == NULL) return 0;
87 return sizeof(IMAGE_EXPORT_DIRECTORY);
@@ -322,7 +322,7 @@ $(function(){ initResizable(false); });
204}
205
- +
207{
208 if (this->parentDir == NULL || parentDir->exportDir() == NULL) {
209 return 0;
@@ -462,9 +462,9 @@ $(function(){ initResizable(false); });
327}
328
-
uint32_t bufsize_t
const offset_t INVALID_ADDR
uint64_t offset_t
+
size_t bufsize_t
#define INVALID_NAME
#define INVALID_ID
diff --git a/_export_dir_wrapper_8h_source.html b/_export_dir_wrapper_8h_source.html index 66108e50..88d5b414 100644 --- a/_export_dir_wrapper_8h_source.html +++ b/_export_dir_wrapper_8h_source.html @@ -127,7 +127,7 @@ $(function(){ initResizable(false); });
28 bool wrap();
29
30 virtual void* getPtr() { return exportDir(); }
-
31 virtual bufsize_t getSize();
+
31 virtual bufsize_t getSize();
32 virtual QString getName();
33 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
34 virtual size_t getSubFieldsCount() { return 1; }
@@ -172,7 +172,7 @@ $(function(){ initResizable(false); });
67
68 // full structure boundaries
69 virtual void* getPtr() { return getFuncRvaPtr(); }
-
70 virtual bufsize_t getSize();
+
70 virtual bufsize_t getSize();
71 virtual QString getName();
72
73 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
@@ -180,7 +180,7 @@ $(function(){ initResizable(false); });
75
76 // specific field boundaries
77 virtual void* getFieldPtr(size_t fieldId, size_t subField = FIELD_NONE);// { return getPtr(); }
-
78 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE) { return sizeof(DWORD); }
+
78 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE) { return sizeof(DWORD); }
79
80 virtual QString getFieldName(size_t fieldId);
81 virtual Executable::addr_type containsAddrType(size_t fieldId, size_t subField) { return Executable::RVA; }
@@ -205,8 +205,8 @@ $(function(){ initResizable(false); });
100};
101
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
DataDirEntryWrapper.h
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
DataDirEntryWrapper::PEFile
friend class PEFile
Definition DataDirEntryWrapper.h:22
diff --git a/_file_buffer_8cpp_source.html b/_file_buffer_8cpp_source.html index 82b8ee00..eeb8d734 100644 --- a/_file_buffer_8cpp_source.html +++ b/_file_buffer_8cpp_source.html @@ -96,7 +96,7 @@ $(function(){ initResizable(false); });
2
3
-
4FileView::FileView(QString &path, bufsize_t maxSize)
+
4FileView::FileView(QString &path, bufsize_t maxSize)
5 : AbstractFileBuffer(path), fIn (path)
6{
7 if (fIn.open(QIODevice::ReadOnly) == false) {
@@ -107,7 +107,7 @@ $(function(){ initResizable(false); });
12 std::cerr << fIn.errorString().toStdString() << std::endl;
13 throw FileBufferException("The file is empty");
14 }
-
15 bufsize_t readableSize = getMappableSize(fIn);
+
15 bufsize_t readableSize = getMappableSize(fIn);
16 this->mappedSize = (readableSize > maxSize) ? maxSize : readableSize;
17
18 uchar *pData = fIn.map(0, this->mappedSize);
@@ -127,9 +127,9 @@ $(function(){ initResizable(false); });
30
-
31bufsize_t FileView::getMappableSize(QFile &fIn)
+
31bufsize_t FileView::getMappableSize(QFile &fIn)
32{
-
33 bufsize_t size = getReadableSize(fIn);
+
33 bufsize_t size = getReadableSize(fIn);
34 if (size > FILEVIEW_MAXSIZE) {
35 size = FILEVIEW_MAXSIZE;
36 }
@@ -139,7 +139,7 @@ $(function(){ initResizable(false); });
39//----------------------------------------------------------------
40
-
41ByteBuffer* AbstractFileBuffer::read(QString &path, bufsize_t minBufSize, const bool allowTruncate)
+
41ByteBuffer* AbstractFileBuffer::read(QString &path, bufsize_t minBufSize, const bool allowTruncate)
42{
43 QFile fIn(path);
44 if (fIn.open(QIODevice::ReadOnly) == false) {
@@ -152,10 +152,10 @@ $(function(){ initResizable(false); });
51
-
52ByteBuffer* AbstractFileBuffer::read(QFile &fIn, bufsize_t minBufSize, const bool allowTruncate) //throws exceptions
+
52ByteBuffer* AbstractFileBuffer::read(QFile &fIn, bufsize_t minBufSize, const bool allowTruncate) //throws exceptions
53{
-
54 bufsize_t readableSize = getReadableSize(fIn);
-
55 bufsize_t allocSize = (readableSize < minBufSize) ? minBufSize : readableSize;
+
54 bufsize_t readableSize = getReadableSize(fIn);
+
55 bufsize_t allocSize = (readableSize < minBufSize) ? minBufSize : readableSize;
56
57 ByteBuffer *bufferedFile = NULL;
58 do {
@@ -170,18 +170,18 @@ $(function(){ initResizable(false); });
67 } while(!bufferedFile && allocSize);
68
69 char *content = (char*) bufferedFile->getContent();
-
70 bufsize_t contentSize = bufferedFile->getContentSize();
+
70 bufsize_t contentSize = bufferedFile->getContentSize();
71
72 if (!content || !contentSize) throw FileBufferException("Cannot allocate buffer");
73 //printf("Reading...%lx , BUFSIZE_MAX = %lx\n", allocSize, BUFSIZE_MAX);
74
-
75 bufsize_t readSize = 0;
+
75 bufsize_t readSize = 0;
76 offset_t prevOffset = 0;
77 offset_t maxOffset = contentSize - 1;
78
79 while (offset_t(fIn.pos()) < maxOffset) {
80
-
81 bufsize_t maxSize = contentSize - readSize;
+
81 bufsize_t maxSize = contentSize - readSize;
82 if (maxSize > FILEVIEW_MAXSIZE) maxSize = FILEVIEW_MAXSIZE;
83
84 readSize += fIn.read(content + readSize, maxSize);
@@ -197,34 +197,34 @@ $(function(){ initResizable(false); });
94
- +
96{
97 qint64 fileSize = fIn.size();
98 if (!fileSize) return 0;
99 if (fileSize > qint64(FILE_MAXSIZE)) {
100 fileSize = qint64(FILE_MAXSIZE);
101 }
-
102 return static_cast<bufsize_t>(fileSize);
+
102 return static_cast<bufsize_t>(fileSize);
103}
104
- +
106{
107 if (!path.length()) return 0;
108 QFile fIn(path);
109 if (!fIn.open(QIODevice::ReadOnly)) return 0;
-
110 const bufsize_t size = getReadableSize(fIn);
+
110 const bufsize_t size = getReadableSize(fIn);
111 fIn.close();
112 return size;
113}
114
-
115bufsize_t AbstractFileBuffer::dump(const QString &path, AbstractByteBuffer &bBuf, bool allowExceptions)
+
115bufsize_t AbstractFileBuffer::dump(const QString &path, AbstractByteBuffer &bBuf, bool allowExceptions)
116{
117 BYTE* buf = bBuf.getContent();
-
118 bufsize_t bufSize = bBuf.getContentSize();
+
118 bufsize_t bufSize = bBuf.getContentSize();
119 if (buf == NULL) {
120 if (allowExceptions) throw FileBufferException("Buffer is empty");
121 return 0;
@@ -234,14 +234,14 @@ $(function(){ initResizable(false); });
125 if (allowExceptions) throw FileBufferException("Cannot open the file: " + path + " for writing");
126 return 0;
127 }
-
128 bufsize_t wrote = static_cast<bufsize_t> (fOut.write((char*)buf, bufSize));
+
128 bufsize_t wrote = static_cast<bufsize_t> (fOut.write((char*)buf, bufSize));
129 fOut.close();
130 return wrote;
131}
132
-
uint32_t bufsize_t
uint64_t offset_t
+
size_t bufsize_t
const bufsize_t FILEVIEW_MAXSIZE
Definition FileBuffer.h:7
const bufsize_t FILE_MAXSIZE
Definition FileBuffer.h:6
diff --git a/_file_buffer_8h.html b/_file_buffer_8h.html index a25b5ccb..a0c0ecda 100644 --- a/_file_buffer_8h.html +++ b/_file_buffer_8h.html @@ -114,9 +114,9 @@ Classes - + - +

Variables

const bufsize_t FILE_MAXSIZE = (LLONG_MAX > BUFSIZE_MAX ? BUFSIZE_MAX : LLONG_MAX)
const bufsize_t FILE_MAXSIZE = (LLONG_MAX > BUFSIZE_MAX ? BUFSIZE_MAX : LLONG_MAX)
 
const bufsize_t FILEVIEW_MAXSIZE = (1024*1024*400)
const bufsize_t FILEVIEW_MAXSIZE = (1024*1024*400)
 

Variable Documentation

@@ -127,7 +127,7 @@ Variables
- +
const bufsize_t FILE_MAXSIZE = (LLONG_MAX > BUFSIZE_MAX ? BUFSIZE_MAX : LLONG_MAX)const bufsize_t FILE_MAXSIZE = (LLONG_MAX > BUFSIZE_MAX ? BUFSIZE_MAX : LLONG_MAX)
@@ -143,7 +143,7 @@ Variables
- +
const bufsize_t FILEVIEW_MAXSIZE = (1024*1024*400)const bufsize_t FILEVIEW_MAXSIZE = (1024*1024*400)
diff --git a/_file_buffer_8h_source.html b/_file_buffer_8h_source.html index fc22da04..77892278 100644 --- a/_file_buffer_8h_source.html +++ b/_file_buffer_8h_source.html @@ -97,8 +97,8 @@ $(function(){ initResizable(false); });
3#include <limits.h>
4#include "ByteBuffer.h"
5
-
6const bufsize_t FILE_MAXSIZE = (LLONG_MAX > BUFSIZE_MAX ? BUFSIZE_MAX : LLONG_MAX);
-
7const bufsize_t FILEVIEW_MAXSIZE = (1024*1024*400); //419mb
+
6const bufsize_t FILE_MAXSIZE = (LLONG_MAX > BUFSIZE_MAX ? BUFSIZE_MAX : LLONG_MAX);
+
7const bufsize_t FILEVIEW_MAXSIZE = (1024*1024*400); //419mb
8
@@ -112,15 +112,15 @@ $(function(){ initResizable(false); });
17public:
-
18 static ByteBuffer* read(QString &file, bufsize_t minBufSize, const bool allowTruncate); //throws exceptions
-
19 static bufsize_t getReadableSize(QFile &fIn);
+
18 static ByteBuffer* read(QString &file, bufsize_t minBufSize, const bool allowTruncate); //throws exceptions
+
19 static bufsize_t getReadableSize(QFile &fIn);
20
-
21 static bufsize_t getReadableSize(const QString &path);
-
22 static bufsize_t dump(const QString &fileName, AbstractByteBuffer &buf, bool allowExceptions = false);
+
21 static bufsize_t getReadableSize(const QString &path);
+
22 static bufsize_t dump(const QString &fileName, AbstractByteBuffer &buf, bool allowExceptions = false);
23 QString getFileName() { return this->fileName; }
24
25protected:
-
26 static ByteBuffer* read(QFile &fIn, bufsize_t minBufSize, const bool allowTruncate); //throws exceptions
+
26 static ByteBuffer* read(QFile &fIn, bufsize_t minBufSize, const bool allowTruncate); //throws exceptions
27
28 AbstractFileBuffer(QString v_fileName) :fileName(v_fileName), fileSize(0) {}
29
@@ -134,19 +134,19 @@ $(function(){ initResizable(false); });
36{
37public:
-
38 static bufsize_t getMappableSize(QFile &fIn);
+
38 static bufsize_t getMappableSize(QFile &fIn);
39
-
40 FileView(QString &fileName, bufsize_t maxSize = FILE_MAXSIZE); //throws exceptions
+
40 FileView(QString &fileName, bufsize_t maxSize = FILE_MAXSIZE); //throws exceptions
41 virtual ~FileView();
42
-
43 virtual bufsize_t getContentSize() { return mappedSize; }
+
43 virtual bufsize_t getContentSize() { return mappedSize; }
44 virtual BYTE* getContent() { return mappedContent; }
- +
46 virtual bool isTruncated() { return fIn.size() > mappedSize; }
47
48protected:
- +
51 QFile fIn;
52};
@@ -157,7 +157,7 @@ $(function(){ initResizable(false); });
56{
57public:
-
58 FileBuffer(QString &fileName, bufsize_t minSize, bool allowTruncate) //throws exceptions
+
58 FileBuffer(QString &fileName, bufsize_t minSize, bool allowTruncate) //throws exceptions
60 {
61 QFile fIn(fileName);
@@ -172,10 +172,10 @@ $(function(){ initResizable(false); });
69
70 virtual ~FileBuffer() { delete m_Buf; }
71
-
72 virtual bufsize_t getContentSize() { return (m_Buf == NULL) ? 0 : m_Buf->getContentSize(); }
+
72 virtual bufsize_t getContentSize() { return (m_Buf == NULL) ? 0 : m_Buf->getContentSize(); }
73 virtual BYTE* getContent() { return (m_Buf == NULL) ? NULL : m_Buf->getContent(); }
74 offset_t getFileSize() { return static_cast<offset_t>(fileSize); }
-
75 bool resize(bufsize_t newSize) { return m_Buf->resize(newSize); }
+
75 bool resize(bufsize_t newSize) { return m_Buf->resize(newSize); }
76
77 virtual bool isResized() { return m_Buf ? m_Buf->isResized() : false; }
78
@@ -192,8 +192,8 @@ $(function(){ initResizable(false); });
87};
const bufsize_t BUFSIZE_MAX
-
uint32_t bufsize_t
uint64_t offset_t
+
size_t bufsize_t
const bufsize_t FILEVIEW_MAXSIZE
Definition FileBuffer.h:7
const bufsize_t FILE_MAXSIZE
Definition FileBuffer.h:6
diff --git a/_file_hdr_wrapper_8h_source.html b/_file_hdr_wrapper_8h_source.html index 6420dd26..98d9d887 100644 --- a/_file_hdr_wrapper_8h_source.html +++ b/_file_hdr_wrapper_8h_source.html @@ -135,7 +135,7 @@ $(function(){ initResizable(false); });
38
39 /* full structure boundaries */
40 virtual void* getPtr();
-
41 virtual bufsize_t getSize() { return sizeof(IMAGE_FILE_HEADER); }
+
41 virtual bufsize_t getSize() { return sizeof(IMAGE_FILE_HEADER); }
42 virtual QString getName() { return "File Hdr"; }
43 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
44
@@ -150,7 +150,7 @@ $(function(){ initResizable(false); });
53};
54
-
uint32_t bufsize_t
+
size_t bufsize_t
#define FIELD_NONE
diff --git a/_import_base_dir_wrapper_8cpp_source.html b/_import_base_dir_wrapper_8cpp_source.html index 6620875b..7e36350b 100644 --- a/_import_base_dir_wrapper_8cpp_source.html +++ b/_import_base_dir_wrapper_8cpp_source.html @@ -96,13 +96,13 @@ $(function(){ initResizable(false); });
2
3//---------------------------------
4
- +
6
7bool imports_util::isNameValid(Executable *pe, char* myName)
8{
9 if (!myName) return false; // do not parse, invalid entry
-
10 bufsize_t upperLimit = pe->getMaxSizeFromPtr((BYTE*) myName);
+
10 bufsize_t upperLimit = pe->getMaxSizeFromPtr((BYTE*) myName);
11 if (upperLimit == 0) return false;
12
13 bool isInvalid = pe_util::hasNonPrintable(myName, upperLimit);
@@ -117,7 +117,7 @@ $(function(){ initResizable(false); });
21using namespace imports_util;
22
- +
24 if (bits == Executable::BITS_32) return sizeof (uint32_t);
25 else if (bits == Executable::BITS_64) return sizeof (uint64_t);
26 return 0;
@@ -385,9 +385,9 @@ $(function(){ initResizable(false); });
258 return true;
259}
-
uint32_t bufsize_t
const offset_t INVALID_ADDR
uint64_t offset_t
+
size_t bufsize_t
IMAGE_DATA_DIRECTORY * getDataDirectory()
virtual void * getPtr()=0
diff --git a/_import_base_dir_wrapper_8h_source.html b/_import_base_dir_wrapper_8h_source.html index 5cc8bd18..eba14898 100644 --- a/_import_base_dir_wrapper_8h_source.html +++ b/_import_base_dir_wrapper_8h_source.html @@ -112,7 +112,7 @@ $(function(){ initResizable(false); });
16{
17public:
- +
19
20 virtual bool wrap();
21 virtual bool isValid();
@@ -124,7 +124,7 @@ $(function(){ initResizable(false); });
27 virtual void* getFieldPtr(size_t fieldId, size_t subField) { return getSubfieldPtr(fieldId, subField ); }
28 virtual QString getFieldName(size_t fieldId, size_t subField) { return getSubfieldName(fieldId, subField ); }
29 virtual QString getFieldName(size_t fieldId) { return getFieldName(fieldId, FIELD_NONE); }
-
30 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE) { return getSubfieldSize(fieldId, subField); }
+
30 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE) { return getSubfieldSize(fieldId, subField); }
31
32 QString thunkToFuncName(offset_t thunk, bool shortName=true);
33 QString thunkToLibName(offset_t thunk);
@@ -169,7 +169,7 @@ $(function(){ initResizable(false); });
67{
68public:
- +
70
71 virtual char* getLibraryName() = 0;
72 virtual size_t getSubFieldsCount() { return 1; }
@@ -218,21 +218,21 @@ $(function(){ initResizable(false); });
109 virtual offset_t callVia() = 0;
110
- +
112 {
113 size_t val = (isBit64()) ? sizeof(uint64_t) : sizeof(uint32_t);
-
114 return static_cast<bufsize_t>(val);
+
114 return static_cast<bufsize_t>(val);
115 }
116
-
117 inline bufsize_t getThunkValSize() { return getAddrSize(); }
+
117 inline bufsize_t getThunkValSize() { return getAddrSize(); }
118
120};
121
-
uint32_t bufsize_t
uint64_t offset_t
+
size_t bufsize_t
#define FIELD_NONE
diff --git a/_import_dir_wrapper_8cpp_source.html b/_import_dir_wrapper_8cpp_source.html index deb30084..3c216a0e 100644 --- a/_import_dir_wrapper_8cpp_source.html +++ b/_import_dir_wrapper_8cpp_source.html @@ -156,7 +156,7 @@ $(function(){ initResizable(false); });
55 if (!is64) thunkRva = (int32_t)(thunkRva);
56 if (thunkRva == 0 || thunkRva == -1) return NULL;
57
-
58 bufsize_t thunkValSize = this->getThunkValSize();
+
58 bufsize_t thunkValSize = this->getThunkValSize();
59 offset_t offset = static_cast<offset_t>(this->entryNum) * thunkValSize;
60
61 offset_t thunkAddr = m_Exe->toRaw(thunkRva + offset, Executable::RVA);
@@ -222,7 +222,7 @@ $(function(){ initResizable(false); });
115
- +
117{
118 return getAddrSize();
119}
@@ -250,10 +250,10 @@ $(function(){ initResizable(false); });
139
-
140bufsize_t ImportedFuncWrapper::getFieldSize(size_t fieldId, size_t subField)
+
140bufsize_t ImportedFuncWrapper::getFieldSize(size_t fieldId, size_t subField)
141{
142 if (fieldId == HINT) return sizeof (WORD);
-
143 bufsize_t entrySize = (isBit64()) ? sizeof(uint64_t) : sizeof(uint32_t);
+
143 bufsize_t entrySize = (isBit64()) ? sizeof(uint64_t) : sizeof(uint32_t);
144 return entrySize;
145}
@@ -333,7 +333,7 @@ $(function(){ initResizable(false); });
212
- +
214{
215 return sizeof(IMAGE_IMPORT_DESCRIPTOR);
216}
@@ -421,8 +421,8 @@ $(function(){ initResizable(false); });
286 char *name = (char*) m_Exe->getContentAt(nAddr, sizeof(char));
287 offset_t peSize = m_Exe->getRawSize();
288
-
289 bufsize_t upperLimit = m_Exe->getMaxSizeFromPtr((BYTE*) name);
- +
289 bufsize_t upperLimit = m_Exe->getMaxSizeFromPtr((BYTE*) name);
+
291 size_t limit = (size_t) upperLimit < HARD_LIMIT ? upperLimit : HARD_LIMIT;
292
293 if (pe_util::isStrLonger(name, limit)) {
@@ -495,16 +495,16 @@ $(function(){ initResizable(false); });
354
- +
356{
357 size_t fields = getFieldsCount() + 1; //fields + terminating field
-
358 return static_cast<bufsize_t>(fields) * sizeof(IMAGE_IMPORT_DESCRIPTOR);
+
358 return static_cast<bufsize_t>(fields) * sizeof(IMAGE_IMPORT_DESCRIPTOR);
359}
360
-
uint32_t bufsize_t
const offset_t INVALID_ADDR
uint64_t offset_t
+
size_t bufsize_t
friend class PEFile
diff --git a/_import_dir_wrapper_8h_source.html b/_import_dir_wrapper_8h_source.html index c5e6f426..05a54d47 100644 --- a/_import_dir_wrapper_8h_source.html +++ b/_import_dir_wrapper_8h_source.html @@ -131,7 +131,7 @@ $(function(){ initResizable(false); });
35
36 virtual void* getPtr() { return firstDescriptor(); }
-
37 virtual bufsize_t getSize();
+
37 virtual bufsize_t getSize();
38 virtual QString getName() { return "Imports"; }
39
40protected:
@@ -173,7 +173,7 @@ $(function(){ initResizable(false); });
70 /* full structure boundaries */
71 virtual void* getPtr();
72
-
73 virtual bufsize_t getSize();
+
73 virtual bufsize_t getSize();
74 bool isBound();
75 virtual QString getName();
76 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
@@ -184,7 +184,7 @@ $(function(){ initResizable(false); });
81 virtual Executable::addr_type containsAddrType(size_t fieldId, size_t subField = FIELD_NONE);
82
-
83 bufsize_t geEntrySize()
+
83 bufsize_t geEntrySize()
84 {
85 if (m_Exe == NULL) return 0;
86 return ImportBaseDirWrapper::thunkSize(m_Exe->getBitMode());
@@ -246,14 +246,14 @@ $(function(){ initResizable(false); });
133 virtual void* getPtr();
134 virtual IMAGE_IMPORT_BY_NAME* getImportByNamePtr();
135
-
136 virtual bufsize_t getSize();
+
136 virtual bufsize_t getSize();
137 //virtual QString getName();
138 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
139 virtual size_t getSubFieldsCount() { return 1; }
140
141 /* specific field boundaries */
142 virtual void* getFieldPtr(size_t fieldId, size_t subField = FIELD_NONE);
-
143 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE);
+
143 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE);
144 virtual QString getFieldName(size_t fieldId);
145 virtual Executable::addr_type containsAddrType(size_t fieldId, size_t subField = FIELD_NONE);
146
@@ -271,9 +271,9 @@ $(function(){ initResizable(false); });
158};
159
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
ImportBaseDirWrapper.h
DataDirEntryWrapper::PEFile
friend class PEFile
Definition DataDirEntryWrapper.h:22
diff --git a/_ld_config_dir_wrapper_8cpp_source.html b/_ld_config_dir_wrapper_8cpp_source.html index 844f0d65..767615c3 100644 --- a/_ld_config_dir_wrapper_8cpp_source.html +++ b/_ld_config_dir_wrapper_8cpp_source.html @@ -97,9 +97,9 @@ $(function(){ initResizable(false); });
3// offset from the beginning of the structure
4#define getStructFieldOffset(STRUCT, FIELD) ((ULONGLONG) &(STRUCT.FIELD) - (ULONGLONG)&STRUCT)
5
-
6bufsize_t LdConfigDirWrapper::getLdConfigDirSize()
+
6bufsize_t LdConfigDirWrapper::getLdConfigDirSize()
7{
-
8 bufsize_t dirSize = 0;
+
8 bufsize_t dirSize = 0;
9
10 if (m_Exe->getBitMode() == Executable::BITS_32) {
11 dirSize = sizeof(pe::IMAGE_LOAD_CONFIG_DIRECTORY32);
@@ -109,7 +109,7 @@ $(function(){ initResizable(false); });
15 return dirSize;
16}
17
-
18bufsize_t LdConfigDirWrapper::getHdrDefinedSize()
+
18bufsize_t LdConfigDirWrapper::getHdrDefinedSize()
19{
20 const offset_t rva = getDirEntryAddress();
21 offset_t raw = INVALID_ADDR;
@@ -132,7 +132,7 @@ $(function(){ initResizable(false); });
38 }
39 DWORD* sizePtr = (DWORD*) m_Exe->getContentAt((raw + offset), sizeof(DWORD));
40 if (!sizePtr) return 0;
-
41 return bufsize_t(*sizePtr);
+
41 return bufsize_t(*sizePtr);
42}
43
44void* LdConfigDirWrapper::getLdConfigDirPtr()
@@ -209,7 +209,7 @@ $(function(){ initResizable(false); });
108 Executable::addr_type aT = containsAddrType(parentId);
109 if (aT == Executable::NOT_ADDR) return NULL;
110
-
111 bufsize_t handlerSize = static_cast<bufsize_t>(this->firstSubEntrySize(parentId));
+
111 bufsize_t handlerSize = static_cast<bufsize_t>(this->firstSubEntrySize(parentId));
112 char *ptr = (char*) m_Exe->getContentAt(offset, aT, handlerSize);
113 if (!ptr) return NULL;
114
@@ -218,16 +218,16 @@ $(function(){ initResizable(false); });
117
-
118bufsize_t LdConfigDirWrapper::getSize()
+
118bufsize_t LdConfigDirWrapper::getSize()
119{
120 //validate the offset
121 const offset_t rva = getDirEntryAddress();
122 if (!m_Exe->isValidAddr(rva, Executable::RVA)) {
123 return 0;
124 }
-
125 const bufsize_t hdrSize = this->getHdrDefinedSize();
-
126 const bufsize_t structSize = getLdConfigDirSize();
-
127 const bufsize_t totalSize = (hdrSize < structSize) ? hdrSize : structSize;
+
125 const bufsize_t hdrSize = this->getHdrDefinedSize();
+
126 const bufsize_t structSize = getLdConfigDirSize();
+
127 const bufsize_t totalSize = (hdrSize < structSize) ? hdrSize : structSize;
128 // is the size correct
129 const offset_t rvaEnd = rva + totalSize - 1;
130 if (!m_Exe->isValidAddr(rvaEnd, Executable::RVA)) {
@@ -625,7 +625,7 @@ $(function(){ initResizable(false); });
506
507 void* first = parentDir->firstSubEntryPtr(this->parentFieldId);
508 if (first == NULL) return NULL;
-
509 bufsize_t fieldSize = static_cast<bufsize_t>(parentDir->firstSubEntrySize(this->parentFieldId));
+
509 bufsize_t fieldSize = static_cast<bufsize_t>(parentDir->firstSubEntrySize(this->parentFieldId));
510 if (fieldSize == 0) return NULL;
511
512 offset_t offset = this->getOffset(first);
@@ -640,11 +640,11 @@ $(function(){ initResizable(false); });
521
-
522bufsize_t LdConfigEntryWrapper::getSize()
+
522bufsize_t LdConfigEntryWrapper::getSize()
523{
524 if (this->parentDir == NULL) return 0;
525 if (!getPtr()) return 0;
-
526 bufsize_t size = static_cast<bufsize_t>(parentDir->firstSubEntrySize(this->parentFieldId));
+
526 bufsize_t size = static_cast<bufsize_t>(parentDir->firstSubEntrySize(this->parentFieldId));
527 return size;
528}
@@ -668,7 +668,7 @@ $(function(){ initResizable(false); });
545
-
546bufsize_t LdConfigEntryWrapper::getFieldSize(size_t fieldId, size_t subField)
+
546bufsize_t LdConfigEntryWrapper::getFieldSize(size_t fieldId, size_t subField)
547{
548 size_t count = this->getFieldsCount();
549 if (fieldId >= count) {
@@ -680,9 +680,9 @@ $(function(){ initResizable(false); });
555 return sizeof(BYTE);
556}
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
getStructFieldOffset
#define getStructFieldOffset(STRUCT, FIELD)
Definition LdConfigDirWrapper.cpp:4
LdConfigDirWrapper.h
DataDirEntryWrapper::getDirEntryAddress
offset_t getDirEntryAddress()
Definition DataDirEntryWrapper.cpp:19
diff --git a/_ld_config_dir_wrapper_8h_source.html b/_ld_config_dir_wrapper_8h_source.html index 195e11b7..ab0b7566 100644 --- a/_ld_config_dir_wrapper_8h_source.html +++ b/_ld_config_dir_wrapper_8h_source.html @@ -167,7 +167,7 @@ $(function(){ initResizable(false); });
76 bool wrap();
77
78 virtual void* getPtr();
-
79 virtual bufsize_t getSize();
+
79 virtual bufsize_t getSize();
80 virtual QString getName() { return "LdConfig"; }
81
@@ -276,10 +276,10 @@ $(function(){ initResizable(false); });
171 bool wrapSubentriesTable(size_t parentFieldId, size_t counterFieldId);
172
173 // get the size of the structure
-
174 inline bufsize_t getLdConfigDirSize();
+
174 inline bufsize_t getLdConfigDirSize();
175
176 // get the size that was defined in the header:
-
177 bufsize_t getHdrDefinedSize();
+
177 bufsize_t getHdrDefinedSize();
178
179 inline void* getLdConfigDirPtr();
180
@@ -322,7 +322,7 @@ $(function(){ initResizable(false); });
211
212 // full structure boundaries
213 virtual void* getPtr();
-
214 virtual bufsize_t getSize();
+
214 virtual bufsize_t getSize();
215
216 virtual QString getName() { return "Address"; }
217
@@ -340,7 +340,7 @@ $(function(){ initResizable(false); });
227 // specific field boundaries
228 virtual void* getFieldPtr(size_t fieldId, size_t subField = FIELD_NONE);
229
-
230 bufsize_t getFieldSize(size_t fieldId, size_t subField);
+
230 bufsize_t getFieldSize(size_t fieldId, size_t subField);
231
232 virtual QString getFieldName(size_t fieldId)
@@ -367,9 +367,9 @@ $(function(){ initResizable(false); });
250 size_t parentFieldId;
251};
-
uint32_t bufsize_t
const offset_t INVALID_ADDR
uint64_t offset_t
+
size_t bufsize_t
#define FIELD_NONE
friend class PEFile
diff --git a/_mapped_exe_8h_source.html b/_mapped_exe_8h_source.html index 5b7828e5..3a3d5813 100644 --- a/_mapped_exe_8h_source.html +++ b/_mapped_exe_8h_source.html @@ -129,7 +129,7 @@ $(function(){ initResizable(false); });
30class MappedExe : public Executable, public ExeWrappersContainer {
31public:
-
32 virtual bool canResize(bufsize_t newSize)
+
32 virtual bool canResize(bufsize_t newSize)
33 {
34 // disabled by default
35 return false;
@@ -137,7 +137,7 @@ $(function(){ initResizable(false); });
37
-
38 virtual bool resize(bufsize_t newSize)
+
38 virtual bool resize(bufsize_t newSize)
39 {
40 if (!canResize(newSize)) return false;
41
@@ -160,7 +160,7 @@ $(function(){ initResizable(false); });
55 virtual ~MappedExe(void) { }
56};
-
uint32_t bufsize_t
+
size_t bufsize_t
AbstractByteBuffer()
diff --git a/_opt_hdr_wrapper_8cpp_source.html b/_opt_hdr_wrapper_8cpp_source.html index 038be3c6..4499c7eb 100644 --- a/_opt_hdr_wrapper_8cpp_source.html +++ b/_opt_hdr_wrapper_8cpp_source.html @@ -278,19 +278,19 @@ $(function(){ initResizable(false); });
163
-
164bufsize_t OptHdrWrapper::getSize()
+
164bufsize_t OptHdrWrapper::getSize()
165{
166 IMAGE_OPTIONAL_HEADER32* opt32 = (nt32()) ? &(nt32()->OptionalHeader) : NULL;
167 IMAGE_OPTIONAL_HEADER64* opt64 = (nt64()) ? &(nt64()->OptionalHeader) : NULL;
168 if (opt32 == NULL && opt64 == NULL) return 0;
169
-
170 bufsize_t size = opt32 ? sizeof(IMAGE_OPTIONAL_HEADER32) : sizeof(IMAGE_OPTIONAL_HEADER64);
+
170 bufsize_t size = opt32 ? sizeof(IMAGE_OPTIONAL_HEADER32) : sizeof(IMAGE_OPTIONAL_HEADER64);
171 return size;
172}
173
-
174bufsize_t OptHdrWrapper::getFieldSize(size_t fId, size_t subField)
+
174bufsize_t OptHdrWrapper::getFieldSize(size_t fId, size_t subField)
175{
176 IMAGE_OPTIONAL_HEADER64* opt64 = (nt64()) ? &(nt64()->OptionalHeader) : NULL;
177 if (opt64 != NULL) {
@@ -471,8 +471,8 @@ $(function(){ initResizable(false); });
344
345//-----------------------
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
OptHdrWrapper.h
PEFile.h
ExeElementWrapper::getFieldSize
virtual bufsize_t getFieldSize(size_t fieldId, size_t subField=FIELD_NONE)
Definition ExeElementWrapper.cpp:12
diff --git a/_opt_hdr_wrapper_8h_source.html b/_opt_hdr_wrapper_8h_source.html index 602f284f..6294e034 100644 --- a/_opt_hdr_wrapper_8h_source.html +++ b/_opt_hdr_wrapper_8h_source.html @@ -158,13 +158,13 @@ $(function(){ initResizable(false); });
61
62 /* full structure boundaries */
63 virtual void* getPtr();
-
64 virtual bufsize_t getSize();
+
64 virtual bufsize_t getSize();
65 virtual QString getName() { return "Optional Hdr"; }
66 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
67
68 /* specific field boundaries */
69 virtual void* getFieldPtr(size_t fieldId, size_t subField = FIELD_NONE);
-
70 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE);
+
70 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE);
71
72 virtual QString translateFieldContent(size_t fieldId);
73
@@ -183,7 +183,7 @@ $(function(){ initResizable(false); });
86};
87
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
PENodeWrapper.h
Executable::addr_type
addr_type
Definition Executable.h:41
diff --git a/_p_e_core_8cpp_source.html b/_p_e_core_8cpp_source.html index 89eb67de..fca163bc 100644 --- a/_p_e_core_8cpp_source.html +++ b/_p_e_core_8cpp_source.html @@ -204,7 +204,7 @@ $(function(){ initResizable(false); });
97
-
98bufsize_t PECore::peNtHeadersSize() const
+
98bufsize_t PECore::peNtHeadersSize() const
99{
100 if (this->getHdrBitMode() == Executable::BITS_64)
101 return sizeof(IMAGE_NT_HEADERS64);
@@ -229,7 +229,7 @@ $(function(){ initResizable(false); });
118
-
119bufsize_t PECore::getAlignment(Executable::addr_type aType) const
+
119bufsize_t PECore::getAlignment(Executable::addr_type aType) const
120{
121 if (this->opt32) {
122 if (aType == Executable::RAW) return opt32->FileAlignment;
@@ -244,9 +244,9 @@ $(function(){ initResizable(false); });
131
-
132bufsize_t PECore::getImageSize()
+
132bufsize_t PECore::getImageSize()
133{
-
134 bufsize_t imgSize = 0;
+
134 bufsize_t imgSize = 0;
135 if (this->opt32) {
136 imgSize = opt32->SizeOfImage;
137 }
@@ -258,9 +258,9 @@ $(function(){ initResizable(false); });
143
-
144bufsize_t PECore::hdrsSize() const
+
144bufsize_t PECore::hdrsSize() const
145{
-
146 bufsize_t hdrsSize = 0;
+
146 bufsize_t hdrsSize = 0;
147 if (this->opt32) {
148 hdrsSize = opt32->SizeOfHeaders;
149 }
@@ -298,9 +298,9 @@ $(function(){ initResizable(false); });
179}
180
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
DEFAULT_IMGBASE
#define DEFAULT_IMGBASE
Definition PECore.cpp:3
PECore.h
AbstractByteBuffer
Definition AbstractByteBuffer.h:36
diff --git a/_p_e_core_8h_source.html b/_p_e_core_8h_source.html index c3f32c13..7471ac0e 100644 --- a/_p_e_core_8h_source.html +++ b/_p_e_core_8h_source.html @@ -119,9 +119,9 @@ $(function(){ initResizable(false); });
20
21 virtual offset_t getRawSize() const { return buf ? static_cast<offset_t>(buf->getContentSize()) : 0; }
22
-
23 virtual bufsize_t getAlignment(Executable::addr_type aType) const;
+
23 virtual bufsize_t getAlignment(Executable::addr_type aType) const;
24 virtual offset_t getImageBase(bool recalculate = false);
-
25 virtual bufsize_t getImageSize();
+
25 virtual bufsize_t getImageSize();
26
27 Executable::exe_bits getHdrBitMode() const;
28 Executable::exe_arch getHdrArch() const;
@@ -129,11 +129,11 @@ $(function(){ initResizable(false); });
30 offset_t peFileHdrOffset() const;
31 offset_t secHdrsOffset() const;
32 offset_t peOptHdrOffset() const;
-
33 bufsize_t peNtHeadersSize() const;
-
34 bufsize_t hdrsSize() const;
+
33 bufsize_t peNtHeadersSize() const;
+
34 bufsize_t hdrsSize() const;
35
-
36 void setImageSize(bufsize_t newSize)
+
36 void setImageSize(bufsize_t newSize)
37 {
38 if (this->opt32) {
39 this->opt32->SizeOfImage = MASK_TO_DWORD(newSize);
@@ -164,9 +164,9 @@ $(function(){ initResizable(false); });
61};
62
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
MASK_TO_DWORD
#define MASK_TO_DWORD(val)
Definition AbstractByteBuffer.h:14
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
Executable.h
AbstractByteBuffer
Definition AbstractByteBuffer.h:36
Executable::addr_type
addr_type
Definition Executable.h:41
diff --git a/_p_e_file_8cpp_source.html b/_p_e_file_8cpp_source.html index 86c99b7d..9c942f53 100644 --- a/_p_e_file_8cpp_source.html +++ b/_p_e_file_8cpp_source.html @@ -419,7 +419,7 @@ $(function(){ initResizable(false); });
297
-
298bufsize_t PEFile::getMappedSize(Executable::addr_type aType)
+
298bufsize_t PEFile::getMappedSize(Executable::addr_type aType)
299{
300 if (aType == Executable::NOT_ADDR) return 0;
301
@@ -427,7 +427,7 @@ $(function(){ initResizable(false); });
303 return this->getContentSize();
304 }
305 const size_t unit_size = 0x1000;
-
306 bufsize_t vSize = 0;
+
306 bufsize_t vSize = 0;
307 if (aType == Executable::VA || aType == Executable::RVA) {
308 vSize = core.getImageSize();
309 }
@@ -491,7 +491,7 @@ $(function(){ initResizable(false); });
359
-
360bool PEFile::setVirtualSize(bufsize_t newSize)
+
360bool PEFile::setVirtualSize(bufsize_t newSize)
361{
362 uint64_t size = newSize;
363 bool canSet = optHdr->setNumValue(OptHdrWrapper::IMAGE_SIZE, size);
@@ -525,9 +525,9 @@ $(function(){ initResizable(false); });
387 offset_t bgnRaw = sec->getContentOffset(Executable::RAW);
388 if (bgnVA == INVALID_ADDR || bgnRaw == INVALID_ADDR) return INVALID_ADDR;
389
-
390 bufsize_t curr = (raw - bgnRaw);
+
390 bufsize_t curr = (raw - bgnRaw);
391
-
392 bufsize_t vSize = sec->getContentSize(Executable::VA, true);
+
392 bufsize_t vSize = sec->getContentSize(Executable::VA, true);
393 if (curr >= vSize) {
394 //address out of section
395 return INVALID_ADDR;
@@ -557,8 +557,8 @@ $(function(){ initResizable(false); });
417 if (bgnRVA == INVALID_ADDR || bgnRaw == INVALID_ADDR) {
418 return INVALID_ADDR;
419 }
-
420 bufsize_t curr = (rva - bgnRVA);
-
421 bufsize_t rawSize = sec->getContentSize(Executable::RAW, true);
+
420 bufsize_t curr = (rva - bgnRVA);
+
421 bufsize_t rawSize = sec->getContentSize(Executable::RAW, true);
422 if (curr >= rawSize) {
423 // the address might be in a virtual cave that is not related to any raw address
424 return INVALID_ADDR;
@@ -655,13 +655,13 @@ $(function(){ initResizable(false); });
507
-
508SectionHdrWrapper* PEFile::addNewSection(QString name, bufsize_t r_size, bufsize_t v_size)
+
508SectionHdrWrapper* PEFile::addNewSection(QString name, bufsize_t r_size, bufsize_t v_size)
509{
510 if (!r_size && !v_size) return nullptr; //nothing to add
511
-
512 bufsize_t newSize = 0;
-
513 bufsize_t roundedRawEnd = 0;
-
514 bufsize_t roundedVirtualEnd = 0;
+
512 bufsize_t newSize = 0;
+
513 bufsize_t roundedRawEnd = 0;
+
514 bufsize_t roundedVirtualEnd = 0;
515 SectionHdrWrapper* secHdrWr = nullptr;
516 { //scope0
517 WatchedLocker lock(&m_peMutex, PE_SHOW_LOCK, __FUNCTION__);
@@ -675,7 +675,7 @@ $(function(){ initResizable(false); });
525 roundedRawEnd = buf_util::roundupToUnit(getMappedSize(Executable::RAW), getAlignment(Executable::RAW));
526 roundedVirtualEnd = buf_util::roundupToUnit(getMappedSize(Executable::RVA), getAlignment(Executable::RVA));
527 newSize = roundedRawEnd + r_size;
-
528 const bufsize_t newVirtualSize = roundedVirtualEnd + v_size;
+
528 const bufsize_t newVirtualSize = roundedVirtualEnd + v_size;
529 if (setVirtualSize(newVirtualSize) == false) {
530 Logger::append(Logger::D_ERROR, "Failed to change virtual size to: %X", newVirtualSize);
531 return nullptr;
@@ -773,9 +773,9 @@ $(function(){ initResizable(false); });
619
-
620SectionHdrWrapper* PEFile::extendLastSection(bufsize_t addedSize)
+
620SectionHdrWrapper* PEFile::extendLastSection(bufsize_t addedSize)
621{
-
622 bufsize_t newSize = 0;
+
622 bufsize_t newSize = 0;
623
624 { //scope0
625 WatchedLocker lock(&m_peMutex, PE_SHOW_LOCK, __FUNCTION__);
@@ -783,18 +783,18 @@ $(function(){ initResizable(false); });
627 if (!secHdr) return nullptr;
628
629 //TODO: check overlay...
-
630 const bufsize_t fullSize = getContentSize();
+
630 const bufsize_t fullSize = getContentSize();
631 newSize = fullSize + addedSize;
632
633 const offset_t secROffset = secHdr->getContentOffset(Executable::RAW, false);
634 if (secROffset == INVALID_ADDR) {
635 return NULL;
636 }
-
637 const bufsize_t secNewRSize = newSize - secROffset; //include overlay in section
+
637 const bufsize_t secNewRSize = newSize - secROffset; //include overlay in section
638 secHdr->setNumValue(SectionHdrWrapper::RSIZE, uint64_t(secNewRSize));
639
640 const offset_t secVOffset = secHdr->getContentOffset(Executable::RVA, false);
-
641 const bufsize_t secVSize = secHdr->getContentSize(Executable::RVA, false);
+
641 const bufsize_t secVSize = secHdr->getContentSize(Executable::RVA, false);
642
643 // if the previous virtual size is smaller than the new raw size, then update it:
644 if (secVSize < secNewRSize) {
@@ -802,7 +802,7 @@ $(function(){ initResizable(false); });
646
647 // if the virtual size of section has changed,
648 // update the Size of Image (saved in the header):
-
649 bufsize_t newVSize = secVOffset + secNewRSize;
+
649 bufsize_t newVSize = secVOffset + secNewRSize;
650 this->setVirtualSize(newVSize);
651 }
652
@@ -825,7 +825,7 @@ $(function(){ initResizable(false); });
667 BufferView *secView = this->_createSectionView(sec);
668 if (!secView) return false;
669
-
670 bufsize_t dumpedSize = FileBuffer::dump(fileName, *secView, false);
+
670 bufsize_t dumpedSize = FileBuffer::dump(fileName, *secView, false);
671 delete secView;
672
673 return dumpedSize ? true : false;
@@ -860,7 +860,7 @@ $(function(){ initResizable(false); });
698{
699 Executable::addr_type aType = Executable::RAW;
700 offset_t start = sec->getContentOffset(aType, true);
-
701 bufsize_t size = sec->getContentSize(aType, true);
+
701 bufsize_t size = sec->getContentSize(aType, true);
702 if (start == INVALID_ADDR || size == 0) {
703 return NULL;
704 }
@@ -897,10 +897,10 @@ $(function(){ initResizable(false); });
733 return entrypoints.size() - initialSize;
734}
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
MASK_TO_DWORD
#define MASK_TO_DWORD(val)
Definition AbstractByteBuffer.h:14
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
FileBuffer.h
PEFile.h
PE_SHOW_LOCK
#define PE_SHOW_LOCK
Definition PEFile.h:30
diff --git a/_p_e_file_8h_source.html b/_p_e_file_8h_source.html index 8e56d63f..08de254f 100644 --- a/_p_e_file_8h_source.html +++ b/_p_e_file_8h_source.html @@ -164,8 +164,8 @@ $(function(){ initResizable(false); });
65 virtual void wrap(); // inherited from Executable
66 bool wrapDataDirs();
67
-
68 virtual bufsize_t getMappedSize(Executable::addr_type aType);
-
69 virtual bufsize_t getAlignment(Executable::addr_type aType) const { return core.getAlignment(aType); }
+
68 virtual bufsize_t getMappedSize(Executable::addr_type aType);
+
69 virtual bufsize_t getAlignment(Executable::addr_type aType) const { return core.getAlignment(aType); }
70 virtual offset_t getImageBase(bool recalculate = false) { return core.getImageBase(recalculate); }
71 virtual offset_t getEntryPoint(Executable::addr_type addrType = Executable::RVA); // returns INVALID_ADDR if failed
72
@@ -175,11 +175,11 @@ $(function(){ initResizable(false); });
76 // PEFile only:
77 offset_t peFileHdrOffset() const { return core.peFileHdrOffset(); }
78 offset_t peNtHdrOffset() const { return core.peSignatureOffset(); }
-
79 bufsize_t peNtHeadersSize() const { return core.peNtHeadersSize(); }
+
79 bufsize_t peNtHeadersSize() const { return core.peNtHeadersSize(); }
80 offset_t peOptHdrOffset() const { return core.peOptHdrOffset(); }
81 offset_t secHdrsOffset() const { return core.secHdrsOffset(); }
82
-
83 bufsize_t hdrsSize() { return core.hdrsSize(); }
+
83 bufsize_t hdrsSize() { return core.hdrsSize(); }
84
85 ResourcesAlbum* getResourcesAlbum() const { return this->album; }
86
@@ -265,7 +265,7 @@ $(function(){ initResizable(false); });
153 if (this->_getSecIndex(sec) == SectHdrsWrapper::SECT_INVALID_INDEX) {
154 return NULL; //not my section
155 }
-
156 const bufsize_t buf_size = sec->getContentSize(Executable::RAW, true);
+
156 const bufsize_t buf_size = sec->getContentSize(Executable::RAW, true);
157 if (!buf_size) return NULL;
158
159 offset_t start = sec->getContentOffset(Executable::RAW, true);
@@ -323,10 +323,10 @@ $(function(){ initResizable(false); });
203
204 // mutex protected
-
205 SectionHdrWrapper* addNewSection(QString name, bufsize_t size, bufsize_t v_size=0);
+
205 SectionHdrWrapper* addNewSection(QString name, bufsize_t size, bufsize_t v_size=0);
206
207 // mutex protected
-
208 SectionHdrWrapper* extendLastSection(bufsize_t addedSize);
+
208 SectionHdrWrapper* extendLastSection(bufsize_t addedSize);
209
210 // mutex protected
211 bool dumpSection(SectionHdrWrapper *sec, QString fileName);
@@ -491,34 +491,34 @@ $(function(){ initResizable(false); });
331
-
332 bufsize_t getFileAlignment() const
+
332 bufsize_t getFileAlignment() const
333 {
334 return this->getAlignment(Executable::RAW);
335 }
336
-
337 bufsize_t getSectionAlignment() const
+
337 bufsize_t getSectionAlignment() const
338 {
339 return this->getAlignment(Executable::RVA);
340 }
341
-
342 void setImageSize(bufsize_t newSize)
+
342 void setImageSize(bufsize_t newSize)
343 {
344 this->setVirtualSize(newSize);
345 }
346
-
347 bool canResize(bufsize_t newSize)
+
347 bool canResize(bufsize_t newSize)
348 {
-
349 bufsize_t currentSize = (bufsize_t)this->getRawSize();
+
349 bufsize_t currentSize = (bufsize_t)this->getRawSize();
350 if (newSize > currentSize) {
351 return true;
352 }
-
353 bufsize_t hEnd = bufsize_t(this->peNtHdrOffset()) + this->peNtHeadersSize();
+
353 bufsize_t hEnd = bufsize_t(this->peNtHdrOffset()) + this->peNtHeadersSize();
354 if (newSize < hEnd) {
355 return false; // the resize will harm headers!
356 }
@@ -593,7 +593,7 @@ $(function(){ initResizable(false); });
414 //---
415 //modifications:
416 bool setHdrSectionsNum(size_t newNum);
-
417 bool setVirtualSize(bufsize_t newSize);
+
417 bool setVirtualSize(bufsize_t newSize);
418
419 PECore core;
420 DosHdrWrapper *dosHdrWrapper;
@@ -611,9 +611,9 @@ $(function(){ initResizable(false); });
432};
433
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
BoundImpDirWrapper.h
ClrDirWrapper.h
CommonOrdinalsLookup.h
diff --git a/_reloc_dir_wrapper_8cpp_source.html b/_reloc_dir_wrapper_8cpp_source.html index 490754e2..26efb844 100644 --- a/_reloc_dir_wrapper_8cpp_source.html +++ b/_reloc_dir_wrapper_8cpp_source.html @@ -131,14 +131,14 @@ $(function(){ initResizable(false); });
36 clear();
37 this->parsedSize = 0;
38
-
39 bufsize_t maxSize = getDirEntrySize(true);
+
39 bufsize_t maxSize = getDirEntrySize(true);
40 size_t entryId = 0;
41 while (parsedSize < maxSize) {
42 RelocBlockWrapper* entry = new RelocBlockWrapper(this->m_Exe, this, entryId++);
43 if (!entry) break;
44
45 bool isOk1 = false;
-
46 const bufsize_t blockSize = (bufsize_t) entry->getNumValue(RelocBlockWrapper::BLOCK_SIZE, &isOk1);
+
46 const bufsize_t blockSize = (bufsize_t) entry->getNumValue(RelocBlockWrapper::BLOCK_SIZE, &isOk1);
47 if (!isOk1 || !blockSize || !entry->getPtr()) {
48 delete entry;
49 break;
@@ -279,7 +279,7 @@ $(function(){ initResizable(false); });
176
-
177bufsize_t RelocBlockWrapper::getSize()
+
177bufsize_t RelocBlockWrapper::getSize()
178{
179 if (this->parentDir == NULL) return 0;
180 IMAGE_BASE_RELOCATION* reloc = (IMAGE_BASE_RELOCATION*) this->getPtr();
@@ -366,7 +366,7 @@ $(function(){ initResizable(false); });
249 IMAGE_BASE_RELOCATION* reloc = (IMAGE_BASE_RELOCATION*) this->getPtr();
250 if (!reloc) return 0;
251
-
252 bufsize_t entriesSize = getFieldSize(ENTRIES_PTR);
+
252 bufsize_t entriesSize = getFieldSize(ENTRIES_PTR);
253 offset_t entriesOffset = getFieldOffset(ENTRIES_PTR);
254
255 offset_t fileSize = m_Exe->getRawSize();
@@ -376,7 +376,7 @@ $(function(){ initResizable(false); });
259
260 void *ptr = this->m_Exe->getContentAt(entriesOffset, Executable::RAW, entriesSize);
261
-
262 bufsize_t entriesNum = 0;
+
262 bufsize_t entriesNum = 0;
263 if (ptr) {
264 entriesNum = entriesSize / sizeof(WORD); //sizeof(BASE_RELOCATION_ENTRY);
265 }
@@ -403,7 +403,7 @@ $(function(){ initResizable(false); });
284
-
285bufsize_t RelocEntryWrapper::getSize()
+
285bufsize_t RelocEntryWrapper::getSize()
286{
287 if (this->parentDir == NULL) return 0;
288 return sizeof(WORD);
@@ -457,9 +457,9 @@ $(function(){ initResizable(false); });
328}
329
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
PEFile.h
RelocDirWrapper.h
DataDirEntryWrapper::getDirEntrySize
bufsize_t getDirEntrySize(bool trimToExeSize=false)
Definition DataDirEntryWrapper.cpp:33
diff --git a/_reloc_dir_wrapper_8h_source.html b/_reloc_dir_wrapper_8h_source.html index 1810b65b..06e4313a 100644 --- a/_reloc_dir_wrapper_8h_source.html +++ b/_reloc_dir_wrapper_8h_source.html @@ -117,12 +117,12 @@ $(function(){ initResizable(false); });
20
21 virtual void* getPtr() { return reloc(); }
22
-
23 virtual bufsize_t getSize() { return parsedSize; }
+
23 virtual bufsize_t getSize() { return parsedSize; }
24 virtual QString getName() { return "Relocation Dir."; }
25 virtual size_t getFieldsCount() { return entries.size(); }
26
27 virtual void* getFieldPtr(size_t fieldId, size_t subField) { return getSubfieldPtr(fieldId, subField ); }
-
28 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField) { return getSubfieldSize(fieldId, subField ); }
+
28 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField) { return getSubfieldSize(fieldId, subField ); }
29 virtual QString getFieldName(size_t fieldId) { return "Relocation Block"; }
30 virtual QString getFieldName(size_t fieldId, size_t subField) { return getSubfieldName(fieldId, subField ); }
31
@@ -130,7 +130,7 @@ $(function(){ initResizable(false); });
33 IMAGE_BASE_RELOCATION* reloc();
34
35private:
-
36 bufsize_t parsedSize;
+
36 bufsize_t parsedSize;
37
38friend class RelocBlockWrapper;
39};
@@ -167,7 +167,7 @@ $(function(){ initResizable(false); });
64 bool isValid();
65 // full structure boundaries
66 virtual void* getPtr();
-
67 virtual bufsize_t getSize();
+
67 virtual bufsize_t getSize();
68 virtual QString getName() { return "Relocation Block"; }
69 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
70
@@ -217,7 +217,7 @@ $(function(){ initResizable(false); });
108
109 // full structure boundaries
110 virtual void* getPtr();
-
111 virtual bufsize_t getSize();
+
111 virtual bufsize_t getSize();
112 virtual QString getName() { return "Type-Offset"; }
113 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
114 virtual size_t getSubFieldsCount() { return 1; }
@@ -237,9 +237,9 @@ $(function(){ initResizable(false); });
128};
129
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
DataDirEntryWrapper.h
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
DataDirEntryWrapper::PEFile
friend class PEFile
Definition DataDirEntryWrapper.h:22
diff --git a/_resource_content_wrapper_8cpp_source.html b/_resource_content_wrapper_8cpp_source.html index a890c160..05558770 100644 --- a/_resource_content_wrapper_8cpp_source.html +++ b/_resource_content_wrapper_8cpp_source.html @@ -136,7 +136,7 @@ $(function(){ initResizable(false); });
39 if (entry == NULL) return NULL;
40
41 offset_t dataRva = static_cast<offset_t>(entry->OffsetToData);
-
42 bufsize_t dataSize = static_cast<bufsize_t>(entry->Size);
+
42 bufsize_t dataSize = static_cast<bufsize_t>(entry->Size);
43
44 Executable* m_Exe = myLeaf->getExe();
45 Executable::addr_type aT = m_Exe->detectAddrType(dataRva, Executable::RVA);
@@ -149,7 +149,7 @@ $(function(){ initResizable(false); });
52
-
53bufsize_t ResourceContentWrapper::getResContentSize()
+
53bufsize_t ResourceContentWrapper::getResContentSize()
54{
55 if (myLeaf == NULL) {
56 printf("[ERR] MyLeaf is NULL\n");
@@ -181,7 +181,7 @@ $(function(){ initResizable(false); });
80
-
81BYTE* ResourceContentWrapper::getContentAt(offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize)
+
81BYTE* ResourceContentWrapper::getContentAt(offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize)
82{
83 if (myLeaf == NULL) return NULL;
84
@@ -191,9 +191,9 @@ $(function(){ initResizable(false); });
88}
89
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
ResourceContentWrapper.h
ExeElementWrapper::Executable
friend class Executable
Definition ExeElementWrapper.h:67
ExeElementWrapper::m_Exe
Executable * m_Exe
Definition ExeElementWrapper.h:65
diff --git a/_resource_content_wrapper_8h_source.html b/_resource_content_wrapper_8h_source.html index 4519a39f..c3805fb3 100644 --- a/_resource_content_wrapper_8h_source.html +++ b/_resource_content_wrapper_8h_source.html @@ -109,13 +109,13 @@ $(function(){ initResizable(false); });
14 virtual ~ResourceContentWrapper() {}
15
16 void* getResContentPtr();
-
17 bufsize_t getResContentSize();
+
17 bufsize_t getResContentSize();
18 offset_t getContentRaw();
19
20 pe::resource_type getType() { return typeId; }
21
22 virtual void* getPtr() { return getResContentPtr(); }
-
23 virtual bufsize_t getSize() { return getResContentSize(); }
+
23 virtual bufsize_t getSize() { return getResContentSize(); }
24
25 virtual QString getName() { return translateType(this->typeId); }
26 virtual size_t getFieldsCount() { return 1; }
@@ -132,7 +132,7 @@ $(function(){ initResizable(false); });
36 : ExeNodeWrapper(pe), myLeaf(v_leaf), typeId(v_typeId) {}
37
-
38 BYTE* getContentAt(offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize);
+
38 BYTE* getContentAt(offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize);
39
40 ResourceLeafWrapper* myLeaf;
41 pe::resource_type typeId;
@@ -174,8 +174,8 @@ $(function(){ initResizable(false); });
69friend class ResourceContentFactory;
70};
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
ExeElementWrapper.h
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
ResourceLeafWrapper.h
diff --git a/_resource_dir_wrapper_8cpp_source.html b/_resource_dir_wrapper_8cpp_source.html index 3c64dcfa..ee400ca8 100644 --- a/_resource_dir_wrapper_8cpp_source.html +++ b/_resource_dir_wrapper_8cpp_source.html @@ -204,10 +204,10 @@ $(function(){ initResizable(false); });
106
107
-
108bufsize_t ResourceDirWrapper::getSize()
+
108bufsize_t ResourceDirWrapper::getSize()
109{
110 if (getPtr() == NULL) return 0;
-
111 bufsize_t size = sizeof(IMAGE_RESOURCE_DIRECTORY);
+
111 bufsize_t size = sizeof(IMAGE_RESOURCE_DIRECTORY);
112 size += getEntriesAreaSize();
113 return size;
114}
@@ -232,7 +232,7 @@ $(function(){ initResizable(false); });
131
-
132bufsize_t ResourceDirWrapper::getFieldSize(size_t fId, size_t subField)
+
132bufsize_t ResourceDirWrapper::getFieldSize(size_t fId, size_t subField)
133{
134 IMAGE_RESOURCE_DIRECTORY* d = resourceDir();
135 if (d == NULL) return 0;
@@ -510,9 +510,9 @@ $(function(){ initResizable(false); });
373
374
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
PEFile.h
MAX_DEPTH
#define MAX_DEPTH
Definition ResourceDirWrapper.cpp:5
diff --git a/_resource_dir_wrapper_8h_source.html b/_resource_dir_wrapper_8h_source.html index 5832b122..b5f1c4ed 100644 --- a/_resource_dir_wrapper_8h_source.html +++ b/_resource_dir_wrapper_8h_source.html @@ -134,20 +134,20 @@ $(function(){ initResizable(false); });
35 bool wrap();
36
37 virtual void* getPtr() { return resourceDir(); }
-
38 virtual bufsize_t getSize();
+
38 virtual bufsize_t getSize();
39
40 virtual QString getName() { return "Resources"; }
41 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
42 virtual size_t getSubFieldsCount() { return 1; }
43
44 virtual void* getFieldPtr(size_t fieldId, size_t subField);
-
45 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField);
+
45 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField);
46 virtual QString getFieldName(size_t fieldId);
47
-
48 bufsize_t getEntriesAreaSize()
+
48 bufsize_t getEntriesAreaSize()
49 {
-
50 return static_cast<bufsize_t>(this->getEntriesCount()) * sizeof(IMAGE_RESOURCE_DIRECTORY_ENTRY);
+
50 return static_cast<bufsize_t>(this->getEntriesCount()) * sizeof(IMAGE_RESOURCE_DIRECTORY_ENTRY);
51 }
52
@@ -195,7 +195,7 @@ $(function(){ initResizable(false); });
88 bool wrap();
89 // full structure boundaries
90 virtual void* getPtr() { return getEntryPtr(); }
-
91 virtual bufsize_t getSize() { return sizeof(IMAGE_RESOURCE_DIRECTORY_ENTRY); }
+
91 virtual bufsize_t getSize() { return sizeof(IMAGE_RESOURCE_DIRECTORY_ENTRY); }
92
93 virtual QString getName() { return "Resource entry: "+ translateType(getID());}
94 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
@@ -232,8 +232,8 @@ $(function(){ initResizable(false); });
125};
126
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
DataDirEntryWrapper.h
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
ResourceContentFactory.h
diff --git a/_resource_leaf_wrapper_8h_source.html b/_resource_leaf_wrapper_8h_source.html index 478093e1..ed687941 100644 --- a/_resource_leaf_wrapper_8h_source.html +++ b/_resource_leaf_wrapper_8h_source.html @@ -124,7 +124,7 @@ $(function(){ initResizable(false); });
25 virtual ~ResourceLeafWrapper() { }
26
27 virtual void* getPtr() { return leafEntryPtr(); }
-
28 virtual bufsize_t getSize() { return sizeof(IMAGE_RESOURCE_DATA_ENTRY); }
+
28 virtual bufsize_t getSize() { return sizeof(IMAGE_RESOURCE_DATA_ENTRY); }
29
30 virtual QString getName() { return "Resource Data"; }
31 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
@@ -149,8 +149,8 @@ $(function(){ initResizable(false); });
48};
49
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
ExeNodeWrapper.h
ExeElementWrapper::Executable
friend class Executable
Definition ExeElementWrapper.h:67
diff --git a/_resource_strings_wrapper_8cpp_source.html b/_resource_strings_wrapper_8cpp_source.html index 95d284f3..f260c3c6 100644 --- a/_resource_strings_wrapper_8cpp_source.html +++ b/_resource_strings_wrapper_8cpp_source.html @@ -102,7 +102,7 @@ $(function(){ initResizable(false); });
7
-
8bufsize_t ResString::getSize() {
+
8bufsize_t ResString::getSize() {
9 WORD* len = this->sizePtr;
10 if (len == NULL) return 0;
11 return (*len) * sizeof(WORD) + sizeof(WORD);
@@ -124,7 +124,7 @@ $(function(){ initResizable(false); });
23 case STR_LEN: return this->sizePtr;
24 case WSTRING:
25 {
-
26 bufsize_t size = (sizePtr == NULL) ? 0 : static_cast<bufsize_t>(*sizePtr);
+
26 bufsize_t size = (sizePtr == NULL) ? 0 : static_cast<bufsize_t>(*sizePtr);
27 WORD *content = (WORD*) this->m_Exe->getContentAt(offset,Executable::RAW, size);
28 return content;
29 }
@@ -145,7 +145,7 @@ $(function(){ initResizable(false); });
42
-
43bufsize_t ResString::getFieldSize(size_t fId, size_t subField)
+
43bufsize_t ResString::getFieldSize(size_t fId, size_t subField)
44{
45 switch (fId) {
46 case STR_LEN: return sizeof(WORD);
@@ -190,7 +190,7 @@ $(function(){ initResizable(false); });
83 if (wStrSize == 0) {
84 continue;
85 }
-
86 bufsize_t totalStrSize = wStrSize * sizeof(WORD);
+
86 bufsize_t totalStrSize = wStrSize * sizeof(WORD);
87
88 WORD* uStringPtr = (WORD*) this->getContentAt(cRaw, Executable::RAW, totalStrSize);
89 if (uStringPtr == NULL) break;
@@ -222,15 +222,15 @@ $(function(){ initResizable(false); });
111
-
112bufsize_t ResourceStringsWrapper::getFieldSize(size_t fId, size_t subField)
+
112bufsize_t ResourceStringsWrapper::getFieldSize(size_t fId, size_t subField)
113{
114 if (fId >= this->entries.size()) return 0;
115 return this->entries[fId]->getFieldSize(subField);
116}
117
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
ResourceStringsWrapper.h
ExeElementWrapper::Executable
friend class Executable
Definition ExeElementWrapper.h:67
ExeElementWrapper::m_Exe
Executable * m_Exe
Definition ExeElementWrapper.h:65
diff --git a/_resource_strings_wrapper_8h_source.html b/_resource_strings_wrapper_8h_source.html index 6fd5ac9a..f89e6a73 100644 --- a/_resource_strings_wrapper_8h_source.html +++ b/_resource_strings_wrapper_8h_source.html @@ -117,7 +117,7 @@ $(function(){ initResizable(false); });
18
19 /* full structure boundatries */
20 virtual void* getPtr();
-
21 virtual bufsize_t getSize();
+
21 virtual bufsize_t getSize();
22 virtual QString getName();
23 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
24 virtual size_t getSubFieldsCount() { return 1; }
@@ -125,7 +125,7 @@ $(function(){ initResizable(false); });
26 /* specific field boundatries */
27 virtual void* getFieldPtr(size_t fieldId, size_t subField);
28 virtual QString getFieldName(size_t fieldId);
-
29 virtual bufsize_t getFieldSize(size_t fId, size_t subField);
+
29 virtual bufsize_t getFieldSize(size_t fId, size_t subField);
30
31 QString getQString()
@@ -172,7 +172,7 @@ $(function(){ initResizable(false); });
65 /* specific field boundatries */
66 virtual QString getFieldName(size_t fieldId);
67 virtual void* getFieldPtr(size_t fieldId, size_t subField);
-
68 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE);
+
68 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE);
69
70 virtual size_t getFieldsCount() { return entries.size(); }
71
@@ -220,8 +220,8 @@ $(function(){ initResizable(false); });
105};
106
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
ResourceContentWrapper.h
ResourceLeafWrapper.h
diff --git a/_resource_version_wrapper_8h_source.html b/_resource_version_wrapper_8h_source.html index 463cb54e..10c5e9b7 100644 --- a/_resource_version_wrapper_8h_source.html +++ b/_resource_version_wrapper_8h_source.html @@ -131,7 +131,7 @@ $(function(){ initResizable(false); });
34
35 /* full structure boundatries */
36 virtual void* getPtr() { return getVersionInfo(); }
-
37 virtual bufsize_t getSize() { return (getVersionInfo() == NULL) ? 0 :sizeof(pe::version_info); }
+
37 virtual bufsize_t getSize() { return (getVersionInfo() == NULL) ? 0 :sizeof(pe::version_info); }
38 virtual QString getName() { return "Version"; }
39 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
40 virtual size_t getSubFieldsCount() { return 1; } //TODO: children
@@ -162,7 +162,7 @@ $(function(){ initResizable(false); });
63};
64
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
ResourceContentWrapper.h
ResourceLeafWrapper.h
diff --git a/_rich_hdr_wrapper_8cpp_source.html b/_rich_hdr_wrapper_8cpp_source.html index bf8519dc..330fe912 100644 --- a/_rich_hdr_wrapper_8cpp_source.html +++ b/_rich_hdr_wrapper_8cpp_source.html @@ -128,14 +128,14 @@ $(function(){ initResizable(false); });
29 return 0;
30 }
31 const pe::RICH_DANS_HEADER dans_empty = { 0 };
-
32 const bufsize_t dif = ((ULONGLONG)richSign - (ULONGLONG)dansHdr) - (sizeof(dans_empty.dansId) + sizeof(dans_empty.cPad));
-
33 bufsize_t count = dif / sizeof(pe::RICH_COMP_ID);
+
32 const bufsize_t dif = ((ULONGLONG)richSign - (ULONGLONG)dansHdr) - (sizeof(dans_empty.dansId) + sizeof(dans_empty.cPad));
+
33 bufsize_t count = dif / sizeof(pe::RICH_COMP_ID);
34 return (size_t) count;
35}
36
-
37bufsize_t RichHdrWrapper::getSize()
+
37bufsize_t RichHdrWrapper::getSize()
38{
39 if (!this->richSign || !this->dansHdr) {
40 return 0;
@@ -187,7 +187,7 @@ $(function(){ initResizable(false); });
82
-
83bufsize_t RichHdrWrapper::getFieldSize(size_t fieldId, size_t subField)
+
83bufsize_t RichHdrWrapper::getFieldSize(size_t fieldId, size_t subField)
84{
85 if (!this->richSign || !this->dansHdr) {
86 return 0;
@@ -664,9 +664,9 @@ $(function(){ initResizable(false); });
541 return "?";
542}
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
PEFile.h
RichHdr_translateProdId
const QString RichHdr_translateProdId(WORD prodId)
Definition RichHdrWrapper.cpp:265
rol32
DWORD rol32(DWORD temp, DWORD i)
Definition RichHdrWrapper.cpp:153
diff --git a/_rich_hdr_wrapper_8h_source.html b/_rich_hdr_wrapper_8h_source.html index ba3ea11a..86794478 100644 --- a/_rich_hdr_wrapper_8h_source.html +++ b/_rich_hdr_wrapper_8h_source.html @@ -129,13 +129,13 @@ $(function(){ initResizable(false); });
30 virtual bool wrap();
31 /* full structure boundaries */
32 virtual void* getPtr();
-
33 virtual bufsize_t getSize();
+
33 virtual bufsize_t getSize();
34 virtual QString getName() { return "Rich Hdr"; }
35 virtual size_t getFieldsCount();
36
37 /* specific field boundaries */
38 virtual void* getFieldPtr(size_t fieldId, size_t subField = FIELD_NONE);
-
39 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE);
+
39 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField = FIELD_NONE);
40 virtual QString translateFieldContent(size_t fieldId);
41 virtual QString getFieldName(size_t fieldId);
42 virtual Executable::addr_type containsAddrType(uint32_t fieldId, uint32_t subField = FIELD_NONE);
@@ -152,7 +152,7 @@ $(function(){ initResizable(false); });
53
54
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
PENodeWrapper.h
RichHdr_translateProdId
const QString RichHdr_translateProdId(WORD prodId)
Definition RichHdrWrapper.cpp:265
diff --git a/_sect_hdrs_wrapper_8cpp_source.html b/_sect_hdrs_wrapper_8cpp_source.html index ab0fceba..475597a5 100644 --- a/_sect_hdrs_wrapper_8cpp_source.html +++ b/_sect_hdrs_wrapper_8cpp_source.html @@ -224,7 +224,7 @@ $(function(){ initResizable(false); });
117
-
118bufsize_t SectionHdrWrapper::getSize()
+
118bufsize_t SectionHdrWrapper::getSize()
119{
120 if (m_PE == NULL) return 0;
121 return sizeof(IMAGE_SECTION_HEADER);
@@ -333,7 +333,7 @@ $(function(){ initResizable(false); });
210 return offset; //returning as is
211 }
212 if (aType == Executable::RAW) {
-
213 bufsize_t align = m_PE->getAlignment(Executable::RAW);
+
213 bufsize_t align = m_PE->getAlignment(Executable::RAW);
214 const size_t units = pe_util::unitsCount(offset, align, false);
215 const offset_t rounded = units * align; //round down to section alignment
216 if (rounded != 0) {
@@ -362,15 +362,15 @@ $(function(){ initResizable(false); });
236
237// size that is declared in header
- +
239{
240 if (this->header == NULL) return 0;
-
241 bufsize_t size = 0;
+
241 bufsize_t size = 0;
242
243 if (aType == Executable::RAW) {
-
244 size = static_cast<bufsize_t>(this->header->SizeOfRawData);//this->getNumValue(RSIZE, &isOk));
+
244 size = static_cast<bufsize_t>(this->header->SizeOfRawData);//this->getNumValue(RSIZE, &isOk));
245 } else if (aType == Executable::VA || aType == Executable::RVA) {
-
246 size = static_cast<bufsize_t>(this->header->Misc.VirtualSize);//this->getNumValue(VSIZE, &isOk));
+
246 size = static_cast<bufsize_t>(this->header->Misc.VirtualSize);//this->getNumValue(VSIZE, &isOk));
247 }
248 return size;
249}
@@ -378,7 +378,7 @@ $(function(){ initResizable(false); });
250
251//RAW size that is really mapped
- +
253{
255
@@ -386,15 +386,15 @@ $(function(){ initResizable(false); });
257 if (secOffset == INVALID_ADDR) {
258 return 0; //invalid addr, nothing is mapped
259 }
-
260 const bufsize_t peSize = m_PE->getRawSize();
+
260 const bufsize_t peSize = m_PE->getRawSize();
261 if (secOffset > peSize) {
262 return 0; //out of scope
263 }
-
264 bufsize_t rawSize = getContentDeclaredSize(aType);
+
264 bufsize_t rawSize = getContentDeclaredSize(aType);
265 if (rawSize == 0) {
266 return 0; // no changes
267 }
- +
269 if (virtualSize == 0) { // if virtual size is not filled, use the raw size as virtual
271 }
@@ -403,16 +403,16 @@ $(function(){ initResizable(false); });
274 rawSize = virtualSize;
275 }
276 // round up to the file alignment unit:
-
277 bufsize_t unit = m_PE->getAlignment(aType);
+
277 bufsize_t unit = m_PE->getAlignment(aType);
278 if (unit != 0) {
279 rawSize = roundupToUnit(rawSize, unit);
280 }
-
281 const bufsize_t secEnd = secOffset + rawSize;
+
281 const bufsize_t secEnd = secOffset + rawSize;
282 //trim to the file size:
283 if (secEnd > peSize) {
-
284 const bufsize_t trimmedSize = peSize - secOffset; // trim to the file size
+
284 const bufsize_t trimmedSize = peSize - secOffset; // trim to the file size
285 if (virtualSize) {
-
286 bufsize_t unit = m_PE->getAlignment(Executable::RVA);
+
286 bufsize_t unit = m_PE->getAlignment(Executable::RVA);
287 if (unit != 0) {
288 virtualSize = roundupToUnit(virtualSize, unit);
289 }
@@ -428,7 +428,7 @@ $(function(){ initResizable(false); });
298
299//VirtualSize that is really mapped
- +
301{
302 if (!m_PE) return 0;
303
@@ -439,20 +439,20 @@ $(function(){ initResizable(false); });
308 return 0; //invalid addr, nothing is mapped
309 }
310
-
311 bufsize_t dVirtualSize = getContentDeclaredSize(aType);
+
311 bufsize_t dVirtualSize = getContentDeclaredSize(aType);
312 if (dVirtualSize == 0) {
314 }
-
315 bufsize_t mRawSize = getMappedRawSize();
+
315 bufsize_t mRawSize = getMappedRawSize();
316
-
317 bufsize_t mVirtualSize = (dVirtualSize > mRawSize) ? dVirtualSize : mRawSize;
-
318 bufsize_t unit = m_PE->getAlignment(aType);
+
317 bufsize_t mVirtualSize = (dVirtualSize > mRawSize) ? dVirtualSize : mRawSize;
+
318 bufsize_t unit = m_PE->getAlignment(aType);
319 if (unit) {
320 mVirtualSize = roundupToUnit(mVirtualSize, unit);
321 }
322 // trim to Image Size:
-
323 bufsize_t secEnd = startOffset + mVirtualSize;
-
324 const bufsize_t imgSize = m_PE->getImageSize();
+
323 bufsize_t secEnd = startOffset + mVirtualSize;
+
324 const bufsize_t imgSize = m_PE->getImageSize();
325 if (imgSize < startOffset) {
326 return 0;
327 }
@@ -471,7 +471,7 @@ $(function(){ initResizable(false); });
340 }
341 //trim to image size:
342 if (secEnd > imgSize) {
-
343 const bufsize_t trimmedSize = imgSize - startOffset;
+
343 const bufsize_t trimmedSize = imgSize - startOffset;
344 return trimmedSize;
345 }
346 return (secEnd - startOffset);
@@ -479,11 +479,11 @@ $(function(){ initResizable(false); });
348
- +
350{
351 if (!this->header || !m_PE) return 0;
352
-
353 bufsize_t size = 0;
+
353 bufsize_t size = 0;
354 if (!recalculate) {
355 size = getContentDeclaredSize(aType);
356 //printf("Declared size = %llx\n---\n", size);
@@ -518,10 +518,10 @@ $(function(){ initResizable(false); });
384{
385 offset_t nextOffset = getNextEntryOffset();
-
386 bufsize_t entrySize = geEntrySize();
+
386 bufsize_t entrySize = geEntrySize();
387 if (entrySize == 0) return false;
388
-
389 bufsize_t paddedSize = entrySize;
+
389 bufsize_t paddedSize = entrySize;
390 bool haveSpace = this->m_Exe->isAreaEmpty(nextOffset, paddedSize);
391 return haveSpace;
392}
@@ -648,7 +648,7 @@ $(function(){ initResizable(false); });
503
- +
505{
506 WatchedLocker lock(&m_secMutex, SEC_SHOW_LOCK, __FUNCTION__);
507
@@ -662,9 +662,9 @@ $(function(){ initResizable(false); });
515 offset_t endOffset = hdrOffset + (secCount * sizeof(IMAGE_SECTION_HEADER));
516
517 if (endOffset > fileSize) {
-
518 return bufsize_t (fileSize - hdrOffset);
+
518 return bufsize_t (fileSize - hdrOffset);
519 }
-
520 return bufsize_t (endOffset - hdrOffset);
+
520 return bufsize_t (endOffset - hdrOffset);
521}
522/*
@@ -750,9 +750,9 @@ $(function(){ initResizable(false); });
597}
598
-
uint32_t bufsize_t
const offset_t INVALID_ADDR
uint64_t offset_t
+
size_t bufsize_t
#define SEC_SHOW_LOCK
diff --git a/_sect_hdrs_wrapper_8h_source.html b/_sect_hdrs_wrapper_8h_source.html index 636d9bcc..2db9ae25 100644 --- a/_sect_hdrs_wrapper_8h_source.html +++ b/_sect_hdrs_wrapper_8h_source.html @@ -153,7 +153,7 @@ $(function(){ initResizable(false); });
52
53 /* full structure boundaries */
54 virtual void* getPtr();
-
55 virtual bufsize_t getSize();
+
55 virtual bufsize_t getSize();
56 virtual QString getName();
57 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
58 virtual size_t getSubFieldsCount() { return 1; }
@@ -168,7 +168,7 @@ $(function(){ initResizable(false); });
67 offset_t getContentOffset(Executable::addr_type aType, bool useMapped = true);
68 offset_t getContentEndOffset(Executable::addr_type aType, bool roundup); //always useMapped startOFfset
69
-
70 bufsize_t getContentSize(Executable::addr_type aType, bool recalculate);
+
70 bufsize_t getContentSize(Executable::addr_type aType, bool recalculate);
71
72 /* wrappers */
73 DWORD getCharacteristics() { return header ? header->Characteristics : 0; }
@@ -205,9 +205,9 @@ $(function(){ initResizable(false); });
100
102
- - - + + +
106
107 char *name;
108 size_t sectNum;
@@ -236,13 +236,13 @@ $(function(){ initResizable(false); });
129
130 // full structure boundaries
131 virtual void* getPtr();
-
132 virtual bufsize_t getSize();
+
132 virtual bufsize_t getSize();
133 virtual QString getName() { return "Section Hdrs"; }
134 virtual size_t getFieldsCount();
135
136 // specific field boundaries
137 virtual void* getFieldPtr(size_t fieldId, size_t subField) { return getSubfieldPtr(fieldId, subField ); }
-
138 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField) { return getSubfieldSize(fieldId, subField ); }
+
138 virtual bufsize_t getFieldSize(size_t fieldId, size_t subField) { return getSubfieldSize(fieldId, subField ); }
139 virtual QString getFieldName(size_t fieldId);
140
141 SectionHdrWrapper* getSecHdrAtOffset(offset_t offset, Executable::addr_type addrType, bool roundup, bool verbose = false);
@@ -298,8 +298,8 @@ $(function(){ initResizable(false); });
185friend class PEFile;
186};
-
uint32_t bufsize_t
uint64_t offset_t
+
size_t bufsize_t
#define FIELD_NONE
const size_t INVALID_ENTRYNUM
diff --git a/_security_dir_wrapper_8cpp_source.html b/_security_dir_wrapper_8cpp_source.html index 798bdda1..a1a2bca8 100644 --- a/_security_dir_wrapper_8cpp_source.html +++ b/_security_dir_wrapper_8cpp_source.html @@ -119,7 +119,7 @@ $(function(){ initResizable(false); });
24
25 size_t fieldsSize = sizeof(cert->dwLength) + sizeof(cert->wRevision) + sizeof(cert->dwLength);
26 size_t certSize = cert->dwLength - fieldsSize;
-
27 ptr = m_Exe->getContentAt(offset, Executable::RAW, static_cast<bufsize_t>(certSize));
+
27 ptr = m_Exe->getContentAt(offset, Executable::RAW, static_cast<bufsize_t>(certSize));
28
29 if (ptr == NULL) return false;
30
@@ -136,14 +136,14 @@ $(function(){ initResizable(false); });
39
-
40bufsize_t SecurityDirWrapper::getSize()
+
40bufsize_t SecurityDirWrapper::getSize()
41{
42 pe::WIN_CERTIFICATE* cert = getCert();
43 if (cert == NULL) return 0;
44
-
45 bufsize_t fullSize = static_cast<bufsize_t>(sizeof(pe::WIN_CERTIFICATE)); // TODO: check it
+
45 bufsize_t fullSize = static_cast<bufsize_t>(sizeof(pe::WIN_CERTIFICATE)); // TODO: check it
46 if (this->sizeOk) {
-
47 fullSize = static_cast<bufsize_t>(cert->dwLength);
+
47 fullSize = static_cast<bufsize_t>(cert->dwLength);
48 }
49 return fullSize;
50}
@@ -213,9 +213,9 @@ $(function(){ initResizable(false); });
104 return translateType(cert->wCertificateType);
105}
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
PEFile.h
SecurityDirWrapper.h
DataDirEntryWrapper::getDirEntryAddress
offset_t getDirEntryAddress()
Definition DataDirEntryWrapper.cpp:19
diff --git a/_security_dir_wrapper_8h_source.html b/_security_dir_wrapper_8h_source.html index 4deb9b86..6f6c6b91 100644 --- a/_security_dir_wrapper_8h_source.html +++ b/_security_dir_wrapper_8h_source.html @@ -135,7 +135,7 @@ $(function(){ initResizable(false); });
36
37 virtual void* getPtr();
38
-
39 virtual bufsize_t getSize();
+
39 virtual bufsize_t getSize();
40 virtual QString getName() { return "Security"; }
41 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
42 virtual size_t getSubFieldsCount() { return 1; }
@@ -154,7 +154,7 @@ $(function(){ initResizable(false); });
55 bool sizeOk;
56};
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
DataDirEntryWrapper.h
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
DataDirEntryWrapper::PEFile
friend class PEFile
Definition DataDirEntryWrapper.h:22
diff --git a/_tls_dir_wrapper_8cpp_source.html b/_tls_dir_wrapper_8cpp_source.html index 1ca1a163..19caa0d3 100644 --- a/_tls_dir_wrapper_8cpp_source.html +++ b/_tls_dir_wrapper_8cpp_source.html @@ -131,7 +131,7 @@ $(function(){ initResizable(false); });
34
-
35bufsize_t TlsDirWrapper::getSize()
+
35bufsize_t TlsDirWrapper::getSize()
36{
37 if (getPtr() == NULL) return 0;
38 if (m_Exe->getBitMode() == Executable::BITS_32) {
@@ -143,7 +143,7 @@ $(function(){ initResizable(false); });
43
44void* TlsDirWrapper::getTlsDirPtr()
45{
-
46 bufsize_t dirSize = 0;
+
46 bufsize_t dirSize = 0;
47
48 if (m_Exe->getBitMode() == Executable::BITS_32) {
49 dirSize = sizeof(IMAGE_TLS_DIRECTORY32);
@@ -232,7 +232,7 @@ $(function(){ initResizable(false); });
125 return NULL;
126 }
127
-
128 bufsize_t addrSize = this->parentDir->getFieldSize(TlsDirWrapper::CALLBACKS_ADDR);
+
128 bufsize_t addrSize = this->parentDir->getFieldSize(TlsDirWrapper::CALLBACKS_ADDR);
129 offset_t myRaw = firstRaw + (addrSize * this->entryNum);
130 BYTE *ptr = m_Exe->getContentAt(myRaw, Executable::RAW, addrSize);
131 return ptr;
@@ -240,16 +240,16 @@ $(function(){ initResizable(false); });
133
-
134bufsize_t TlsEntryWrapper::getSize()
+
134bufsize_t TlsEntryWrapper::getSize()
135{
136 if (this->parentDir == NULL) return 0;
-
137 bufsize_t addrSize = this->parentDir->getFieldSize(TlsDirWrapper::CALLBACKS_ADDR);
+
137 bufsize_t addrSize = this->parentDir->getFieldSize(TlsDirWrapper::CALLBACKS_ADDR);
138 return addrSize;
139}
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
PEFile.h
TlsDirWrapper.h
DataDirEntryWrapper::getDirEntryAddress
offset_t getDirEntryAddress()
Definition DataDirEntryWrapper.cpp:19
diff --git a/_tls_dir_wrapper_8h_source.html b/_tls_dir_wrapper_8h_source.html index efe9381c..a65d5f73 100644 --- a/_tls_dir_wrapper_8h_source.html +++ b/_tls_dir_wrapper_8h_source.html @@ -125,7 +125,7 @@ $(function(){ initResizable(false); });
26 bool wrap();
27
28 virtual void* getPtr();
-
29 virtual bufsize_t getSize();
+
29 virtual bufsize_t getSize();
30
31 virtual QString getName() { return "TLS"; }
32 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
@@ -163,7 +163,7 @@ $(function(){ initResizable(false); });
58
59 // full structure boundaries
60 virtual void* getPtr();
-
61 virtual bufsize_t getSize();
+
61 virtual bufsize_t getSize();
62
63 virtual QString getName() { return "TLS Callback"; }
64 virtual size_t getFieldsCount() { return FIELD_COUNTER; }
@@ -179,7 +179,7 @@ $(function(){ initResizable(false); });
74
75};
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
DataDirEntryWrapper.h
FIELD_NONE
#define FIELD_NONE
Definition ExeElementWrapper.h:9
DataDirEntryWrapper::PEFile
friend class PEFile
Definition DataDirEntryWrapper.h:22
diff --git a/_wrapped_value_8cpp_source.html b/_wrapped_value_8cpp_source.html index 187374bf..efaabd82 100644 --- a/_wrapped_value_8cpp_source.html +++ b/_wrapped_value_8cpp_source.html @@ -111,7 +111,7 @@ $(function(){ initResizable(false); });
16 }
17 if (this->m_Type == WSTRING) {
18
-
19 bufsize_t wSize = m_Size / bufsize_t(sizeof(WORD));
+
19 bufsize_t wSize = m_Size / bufsize_t(sizeof(WORD));
20 WORD *strPtr = (WORD*) this->m_Owner->getContentAt(m_Offset, m_Size);
21 return QString::fromUtf16(reinterpret_cast<const char16_t*>(strPtr), static_cast<int>(wSize));
22 }
@@ -140,7 +140,7 @@ $(function(){ initResizable(false); });
41 }
42 if (this->m_Type == INT) {
43
-
44 bufsize_t size = this->m_Size;
+
44 bufsize_t size = this->m_Size;
45 if (size > sizeof(uint64_t)) return "...";
46
47 bool isOk = false;
@@ -157,7 +157,7 @@ $(function(){ initResizable(false); });
58 return getQVariant().toString();
59}
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
WrappedValue.h
WrappedValue::getQVariant
QVariant getQVariant()
Definition WrappedValue.cpp:3
WrappedValue::m_Owner
AbstractByteBuffer * m_Owner
Definition WrappedValue.h:39
diff --git a/_wrapped_value_8h_source.html b/_wrapped_value_8h_source.html index d42ce9bd..ff5e5b05 100644 --- a/_wrapped_value_8h_source.html +++ b/_wrapped_value_8h_source.html @@ -124,7 +124,7 @@ $(function(){ initResizable(false); });
26
-
27 WrappedValue(AbstractByteBuffer *owner, offset_t offset, bufsize_t size, data_type type)
+
27 WrappedValue(AbstractByteBuffer *owner, offset_t offset, bufsize_t size, data_type type)
28 : m_Type(type), m_Owner(owner), m_Offset(offset), m_Size(size) {}
29
@@ -139,13 +139,13 @@ $(function(){ initResizable(false); });
38 data_type m_Type;
39 AbstractByteBuffer* m_Owner;
40 offset_t m_Offset;
-
41 bufsize_t m_Size;
+
41 bufsize_t m_Size;
42};
AbstractByteBuffer.h
-
bufsize_t
uint32_t bufsize_t
Definition AbstractByteBuffer.h:17
INVALID_ADDR
const offset_t INVALID_ADDR
Definition AbstractByteBuffer.h:21
offset_t
uint64_t offset_t
Definition AbstractByteBuffer.h:20
+
bufsize_t
size_t bufsize_t
Definition AbstractByteBuffer.h:17
CustomException.h
AbstractByteBuffer
Definition AbstractByteBuffer.h:36
WrappedValue::getQVariant
QVariant getQVariant()
Definition WrappedValue.cpp:3
diff --git a/class_abstract_byte_buffer.html b/class_abstract_byte_buffer.html index 7830443a..fe0e16e5 100644 --- a/class_abstract_byte_buffer.html +++ b/class_abstract_byte_buffer.html @@ -101,7 +101,7 @@ Public Member Functions   virtual ~AbstractByteBuffer ()   -virtual bufsize_t getContentSize ()=0 +virtual bufsize_t getContentSize ()=0   virtual BYTE * getContent ()=0   @@ -113,43 +113,43 @@ Public Member Functions   virtual offset_t getOffset (void *ptr, bool allowExceptions=false)   -virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false) +virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)   -virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false) +virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)   -virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false) +virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)   bool setStringValue (offset_t rawOffset, QString newText)   -QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false) +QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)   -QString getWStringValue (offset_t rawOffset, bufsize_t len) +QString getWStringValue (offset_t rawOffset, bufsize_t len)   -QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false) +QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)   -bufsize_t getMaxSizeFromOffset (offset_t startOffset) +bufsize_t getMaxSizeFromOffset (offset_t startOffset)   -bufsize_t getMaxSizeFromPtr (BYTE *ptr) +bufsize_t getMaxSizeFromPtr (BYTE *ptr)   -bool isAreaEmpty (offset_t rawOffset, bufsize_t size) +bool isAreaEmpty (offset_t rawOffset, bufsize_t size)   bool fillContent (BYTE filling)   bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)   -bool containsBlock (offset_t rawOffset, bufsize_t size) +bool containsBlock (offset_t rawOffset, bufsize_t size)   -bool intersectsBlock (offset_t rawOffset, bufsize_t size) +bool intersectsBlock (offset_t rawOffset, bufsize_t size)   -uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk) +uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)   -bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal) +bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)   bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)   -virtual bool resize (bufsize_t newSize) +virtual bool resize (bufsize_t newSize)   -offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn) +offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)   - +

@@ -230,7 +230,7 @@ Static Public Member Functions

bufsize_t size )bufsize_t size )
@@ -330,7 +330,7 @@ Here is the call graph for this function:
- bufsize_t size, + bufsize_t size, @@ -380,7 +380,7 @@ Here is the call graph for this function: - bufsize_t size, + bufsize_t size, @@ -429,7 +429,7 @@ Here is the call graph for this function: - + @@ -453,7 +453,7 @@ Here is the call graph for this function:
virtual bufsize_t AbstractByteBuffer::getContentSize virtual bufsize_t AbstractByteBuffer::getContentSize ( )
- + @@ -485,7 +485,7 @@ Here is the call graph for this function: - +
bufsize_t AbstractByteBuffer::getMaxSizeFromOffset bufsize_t AbstractByteBuffer::getMaxSizeFromOffset ( offset_t startOffset) - + @@ -533,7 +533,7 @@ Here is the call graph for this function: - + @@ -622,7 +622,7 @@ Here is the call graph for this function: - + @@ -667,7 +667,7 @@ Here is the call graph for this function: - + @@ -711,7 +711,7 @@ Here is the call graph for this function: - +
bufsize_t AbstractByteBuffer::getMaxSizeFromPtr bufsize_t AbstractByteBuffer::getMaxSizeFromPtr ( BYTE * ptr)
bufsize_t size, bufsize_t size,
bufsize_t len = BUFSIZE_MAX, bufsize_t len = BUFSIZE_MAX,
bufsize_t len, bufsize_t len,
bufsize_t len )bufsize_t len )
@@ -748,7 +748,7 @@ Here is the call graph for this function:
bufsize_t size )bufsize_t size )
@@ -789,7 +789,7 @@ Here is the call graph for this function:
- bufsize_t size ) + bufsize_t size )
@@ -1007,7 +1007,7 @@ Here is the call graph for this function:
virtual bool AbstractByteBuffer::resize ( - bufsize_t newSize) + bufsize_t newSize) @@ -1046,12 +1046,12 @@ Here is the call graph for this function: - bufsize_t srcSize, + bufsize_t srcSize, - bufsize_t paddingSize, + bufsize_t paddingSize, @@ -1099,7 +1099,7 @@ Here is the call graph for this function: - bufsize_t size, + bufsize_t size, @@ -1235,7 +1235,7 @@ Here is the call graph for this function: - bufsize_t contentSize, + bufsize_t contentSize, diff --git a/class_abstract_file_buffer.html b/class_abstract_file_buffer.html index 1b4c0325..16400fb9 100644 --- a/class_abstract_file_buffer.html +++ b/class_abstract_file_buffer.html @@ -105,13 +105,13 @@ Public Member Functions - + - + - + - +

Static Public Member Functions

static ByteBufferread (QString &file, bufsize_t minBufSize, const bool allowTruncate)
static ByteBufferread (QString &file, bufsize_t minBufSize, const bool allowTruncate)
 
static bufsize_t getReadableSize (QFile &fIn)
static bufsize_t getReadableSize (QFile &fIn)
 
static bufsize_t getReadableSize (const QString &path)
static bufsize_t getReadableSize (const QString &path)
 
static bufsize_t dump (const QString &fileName, AbstractByteBuffer &buf, bool allowExceptions=false)
static bufsize_t dump (const QString &fileName, AbstractByteBuffer &buf, bool allowExceptions=false)
 

@@ -121,7 +121,7 @@ Protected Member Functions

- +

Static Protected Member Functions

static ByteBufferread (QFile &fIn, bufsize_t minBufSize, const bool allowTruncate)
static ByteBufferread (QFile &fIn, bufsize_t minBufSize, const bool allowTruncate)
 

@@ -173,7 +173,7 @@ Protected Attributes

- + @@ -248,7 +248,7 @@ Here is the call graph for this function: @@ -598,7 +598,7 @@ Here is the call graph for this function: @@ -622,7 +622,7 @@ Here is the call graph for this function: diff --git a/class_clr_dir_wrapper.html b/class_clr_dir_wrapper.html index b472f062..4f6e02bc 100644 --- a/class_clr_dir_wrapper.html +++ b/class_clr_dir_wrapper.html @@ -191,7 +191,7 @@ Public Member Functions - + @@ -212,7 +212,7 @@ Public Member Functions - + @@ -246,7 +246,7 @@ Public Member Functions - + @@ -258,7 +258,7 @@ Public Member Functions - + @@ -267,7 +267,7 @@ Public Member Functions - + @@ -277,7 +277,7 @@ Public Member Functions - + @@ -314,43 +314,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t AbstractFileBuffer::dump bufsize_t AbstractFileBuffer::dump ( const QString & fileName,
- + @@ -285,7 +285,7 @@ Here is the call graph for this function: @@ -409,7 +409,7 @@ Here is the call graph for this function:
bufsize_t AbstractFileBuffer::getReadableSize bufsize_t AbstractFileBuffer::getReadableSize ( const QString & path) - + @@ -319,7 +319,7 @@ Here is the call graph for this function: - + @@ -371,7 +371,7 @@ Here is the call graph for this function: - + diff --git a/class_bound_entry_wrapper.html b/class_bound_entry_wrapper.html index a2eec1c2..5610e970 100644 --- a/class_bound_entry_wrapper.html +++ b/class_bound_entry_wrapper.html @@ -135,7 +135,7 @@ Public Member Functions - + @@ -170,7 +170,7 @@ Public Member Functions - + @@ -182,7 +182,7 @@ Public Member Functions - + @@ -191,7 +191,7 @@ Public Member Functions - + @@ -201,7 +201,7 @@ Public Member Functions - + @@ -242,43 +242,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t AbstractFileBuffer::getReadableSize bufsize_t AbstractFileBuffer::getReadableSize ( QFile & fIn)
bufsize_t minBufSize, bufsize_t minBufSize,
bufsize_t minBufSize, bufsize_t minBufSize,
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + - +

@@ -869,7 +869,7 @@ Here is the call graph for this function:

- + diff --git a/class_bound_imp_dir_wrapper.html b/class_bound_imp_dir_wrapper.html index 7730d752..664ad26f 100644 --- a/class_bound_imp_dir_wrapper.html +++ b/class_bound_imp_dir_wrapper.html @@ -157,7 +157,7 @@ Public Member Functions - + @@ -165,7 +165,7 @@ Public Member Functions - + @@ -176,7 +176,7 @@ Public Member Functions - + @@ -212,7 +212,7 @@ Public Member Functions - + @@ -224,7 +224,7 @@ Public Member Functions - + @@ -233,7 +233,7 @@ Public Member Functions - + @@ -282,43 +282,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t BoundEntryWrapper::getSize bufsize_t BoundEntryWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getFieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual QString getFieldName (size_t fieldId, size_t subField)
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -754,7 +754,7 @@ Here is the call graph for this function:

- + @@ -917,7 +917,7 @@ Here is the call graph for this function: - + - +
virtual bufsize_t BoundImpDirWrapper::getFieldSize virtual bufsize_t BoundImpDirWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_buffer_view.html b/class_buffer_view.html index 59f46776..5c00f3ab 100644 --- a/class_buffer_view.html +++ b/class_buffer_view.html @@ -108,15 +108,15 @@ Collaboration diagram for BufferView:
bufsize_t BoundImpDirWrapper::getSize bufsize_t BoundImpDirWrapper::getSize ( )
- + - + - + @@ -131,43 +131,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

Public Member Functions

 BufferView (AbstractByteBuffer *parent, offset_t offset, bufsize_t size)
 BufferView (AbstractByteBuffer *parent, offset_t offset, bufsize_t size)
 
virtual ~BufferView ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
bufsize_t getRequestedSize () const
bufsize_t getRequestedSize () const
 
- Public Member Functions inherited from AbstractByteBuffer
 AbstractByteBuffer ()
 
virtual offset_t getOffset (void *ptr, bool allowExceptions=false)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- +

@@ -176,7 +176,7 @@ Protected Attributes

 
offset_t offset
 
bufsize_t size
bufsize_t size
 
- +

@@ -208,7 +208,7 @@ Additional Inherited Members

bufsize_t size )bufsize_t size )
@@ -304,7 +304,7 @@ Here is the call graph for this function:
- + @@ -333,7 +333,7 @@ Here is the call graph for this function: - + - +
bufsize_t BufferView::getContentSize bufsize_t BufferView::getContentSize ( ) - + @@ -409,7 +409,7 @@ Here is the call graph for this function: diff --git a/class_byte_buffer.html b/class_byte_buffer.html index a8dd5951..2682d2d7 100644 --- a/class_byte_buffer.html +++ b/class_byte_buffer.html @@ -110,19 +110,19 @@ Collaboration diagram for ByteBuffer: Public Member Functions - + - + - + - + - + @@ -137,57 +137,57 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t BufferView::getRequestedSize bufsize_t BufferView::getRequestedSize ( ) const - +
bufsize_t BufferView::sizebufsize_t BufferView::size
 ByteBuffer ()
 
 ByteBuffer (bufsize_t v_size, bufsize_t padding=DEFAULT_PADDING)
 ByteBuffer (bufsize_t v_size, bufsize_t padding=DEFAULT_PADDING)
 
 ByteBuffer (BYTE *v_content, bufsize_t v_size, bufsize_t padding=DEFAULT_PADDING)
 ByteBuffer (BYTE *v_content, bufsize_t v_size, bufsize_t padding=DEFAULT_PADDING)
 
 ByteBuffer (AbstractByteBuffer *sourceBuf, offset_t offset, bufsize_t size, bufsize_t padding=DEFAULT_PADDING)
 ByteBuffer (AbstractByteBuffer *sourceBuf, offset_t offset, bufsize_t size, bufsize_t padding=DEFAULT_PADDING)
 
virtual ~ByteBuffer ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
virtual bool isResized ()
 
 
virtual offset_t getOffset (void *ptr, bool allowExceptions=false)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- +

Protected Member Functions

BYTE * allocContent (bufsize_t v_size, bufsize_t padding)
BYTE * allocContent (bufsize_t v_size, bufsize_t padding)
 
- + - + - +

Protected Attributes

BYTE * content
 
bufsize_t contentSize
bufsize_t contentSize
 
bufsize_t padding
bufsize_t padding
 
bufsize_t originalSize
bufsize_t originalSize
 
- + - +

@@ -236,17 +236,17 @@ Additional Inherited Members

ByteBuffer::ByteBuffer (bufsize_t v_size, bufsize_t v_size,
bufsize_t padding = DEFAULT_PADDING )bufsize_t padding = DEFAULT_PADDING )
-

Definition at line 4 of file ByteBuffer.cpp.

+

Definition at line 5 of file ByteBuffer.cpp.

Here is the call graph for this function:
@@ -276,17 +276,17 @@ Here is the call graph for this function:
bufsize_t v_size, bufsize_t v_size,
bufsize_t padding = DEFAULT_PADDING )bufsize_t padding = DEFAULT_PADDING )
-

Definition at line 17 of file ByteBuffer.cpp.

+

Definition at line 18 of file ByteBuffer.cpp.

Here is the call graph for this function:
@@ -319,17 +319,17 @@ Here is the call graph for this function:
bufsize_t size, bufsize_t size,
bufsize_t padding = DEFAULT_PADDING )bufsize_t padding = DEFAULT_PADDING )
-

Definition at line 26 of file ByteBuffer.cpp.

+

Definition at line 27 of file ByteBuffer.cpp.

Here is the call graph for this function:
@@ -377,7 +377,7 @@ Here is the call graph for this function:
-

Definition at line 85 of file ByteBuffer.cpp.

+

Definition at line 87 of file ByteBuffer.cpp.

@@ -394,12 +394,12 @@ Here is the call graph for this function:
BYTE * ByteBuffer::allocContent (bufsize_t v_size, bufsize_t v_size,
bufsize_t padding )bufsize_t padding )
-

Definition at line 49 of file ByteBuffer.cpp.

+

Definition at line 50 of file ByteBuffer.cpp.

@@ -452,7 +452,7 @@ Here is the call graph for this function:
- + @@ -512,7 +512,7 @@ Here is the call graph for this function: - +
virtual bufsize_t ByteBuffer::getContentSize virtual bufsize_t ByteBuffer::getContentSize ( )
bool ByteBuffer::resize (bufsize_t newSize)bufsize_t newSize)
@@ -525,7 +525,7 @@ Here is the call graph for this function:

Reimplemented from AbstractByteBuffer.

-

Definition at line 66 of file ByteBuffer.cpp.

+

Definition at line 68 of file ByteBuffer.cpp.

Here is the call graph for this function:
@@ -574,7 +574,7 @@ Here is the call graph for this function:
- +
bufsize_t ByteBuffer::contentSizebufsize_t ByteBuffer::contentSize
- +
bufsize_t ByteBuffer::originalSizebufsize_t ByteBuffer::originalSize
- +
bufsize_t ByteBuffer::paddingbufsize_t ByteBuffer::padding
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -790,7 +790,7 @@ Here is the call graph for this function:

- + diff --git a/class_d_o_s_exe.html b/class_d_o_s_exe.html index 15d38b3b..d3dac3bf 100644 --- a/class_d_o_s_exe.html +++ b/class_d_o_s_exe.html @@ -165,9 +165,9 @@ Public Member Functions - + - + @@ -178,9 +178,9 @@ Public Member Functions - + - + @@ -191,19 +191,19 @@ Public Member Functions - + - + - + - + - + @@ -231,9 +231,9 @@ Public Member Functions - + - + @@ -244,37 +244,37 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + @@ -292,7 +292,7 @@ Public Member Functions Protected Member Functions - + @@ -500,7 +500,7 @@ Here is the call graph for this function:
bufsize_t ClrDirWrapper::getSize bufsize_t ClrDirWrapper::getSize ( )
 
virtual offset_t rvaToRaw (offset_t rva)
 
virtual bufsize_t getMappedSize (Executable::addr_type aType)
virtual bufsize_t getMappedSize (Executable::addr_type aType)
 
virtual bufsize_t getAlignment (Executable::addr_type aType) const
virtual bufsize_t getAlignment (Executable::addr_type aType) const
 
virtual offset_t getImageBase (bool recalculate=false)
 
offset_t peSignatureOffset ()
 
- Public Member Functions inherited from MappedExe
virtual bool canResize (bufsize_t newSize)
virtual bool canResize (bufsize_t newSize)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
- Public Member Functions inherited from Executable
bool isBit64 ()
 
virtual exe_bits getBitMode ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual offset_t getRawSize () const
 
BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAt (offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions=false)
 
virtual bufsize_t getImageSize ()
virtual bufsize_t getImageSize ()
 
virtual size_t getAllEntryPoints (QMap< offset_t, QString > &entrypoints, Executable::addr_type aType=Executable::RVA)
 
 
AbstractByteBuffergetFileBuffer () const
 
bufsize_t getFileSize () const
bufsize_t getFileSize () const
 
virtual bool dumpFragment (offset_t offset, bufsize_t size, QString fileName)
virtual bool dumpFragment (offset_t offset, bufsize_t size, QString fileName)
 
- Public Member Functions inherited from AbstractByteBuffer
 AbstractByteBuffer ()
 
virtual offset_t getOffset (void *ptr, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- Public Member Functions inherited from ExeWrappersContainer
 ExeWrappersContainer ()
offset_t codeOffset ()
 
bufsize_t moduleSize ()
bufsize_t moduleSize ()
 
- Protected Member Functions inherited from MappedExe
 MappedExe (AbstractByteBuffer *v_buf, exe_bits v_bitMode)
- + @@ -626,7 +626,7 @@ Here is the call graph for this function:
virtual bufsize_t DOSExe::getAlignment virtual bufsize_t DOSExe::getAlignment ( Executable::addr_type aType) const - + @@ -669,7 +669,7 @@ Here is the call graph for this function:
virtual bufsize_t DOSExe::getMappedSize virtual bufsize_t DOSExe::getMappedSize ( Executable::addr_type aType) - + diff --git a/class_data_dir_entry_wrapper.html b/class_data_dir_entry_wrapper.html index ac7c9178..d4f86c9f 100644 --- a/class_data_dir_entry_wrapper.html +++ b/class_data_dir_entry_wrapper.html @@ -153,7 +153,7 @@ Public Member Functions - + @@ -191,7 +191,7 @@ Public Member Functions - + @@ -205,7 +205,7 @@ Public Member Functions - + @@ -214,13 +214,13 @@ Public Member Functions - + - + @@ -234,7 +234,7 @@ Public Member Functions - + @@ -275,43 +275,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t DOSExe::moduleSize bufsize_t DOSExe::moduleSize ( )
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual void * getPtr ()=0
 
virtual bufsize_t getSize ()=0
virtual bufsize_t getSize ()=0
 
virtual QString getName ()=0
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -514,7 +514,7 @@ Here is the call graph for this function:
- + diff --git a/class_data_dir_wrapper.html b/class_data_dir_wrapper.html index 375f8c22..3403867e 100644 --- a/class_data_dir_wrapper.html +++ b/class_data_dir_wrapper.html @@ -164,7 +164,7 @@ Public Member Functions - + @@ -172,7 +172,7 @@ Public Member Functions - + @@ -194,7 +194,7 @@ Public Member Functions - + @@ -241,43 +241,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t DataDirEntryWrapper::getDirEntrySize bufsize_t DataDirEntryWrapper::getDirEntrySize ( bool trimToExeSize = false)
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getFieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField)
 
virtual QString getFieldName (size_t fieldId)
 
 
virtual bool wrap ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -616,7 +616,7 @@ Here is the call graph for this function:

- + @@ -773,7 +773,7 @@ Here is the call graph for this function:
bufsize_t DataDirWrapper::getFieldSize bufsize_t DataDirWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_debug_dir_c_v_entry_wrapper.html b/class_debug_dir_c_v_entry_wrapper.html index abac38c1..5bcffff0 100644 --- a/class_debug_dir_c_v_entry_wrapper.html +++ b/class_debug_dir_c_v_entry_wrapper.html @@ -134,7 +134,7 @@ Public Member Functions - + @@ -177,7 +177,7 @@ Public Member Functions - + @@ -189,7 +189,7 @@ Public Member Functions - + @@ -198,7 +198,7 @@ Public Member Functions - + @@ -208,7 +208,7 @@ Public Member Functions - + @@ -245,43 +245,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t DataDirWrapper::getSize bufsize_t DataDirWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -653,7 +653,7 @@ Here is the call graph for this function:

- + diff --git a/class_debug_dir_entry_wrapper.html b/class_debug_dir_entry_wrapper.html index 0a68840f..d2e0be4f 100644 --- a/class_debug_dir_entry_wrapper.html +++ b/class_debug_dir_entry_wrapper.html @@ -182,7 +182,7 @@ Public Member Functions - + @@ -230,7 +230,7 @@ Public Member Functions - + @@ -242,7 +242,7 @@ Public Member Functions - + @@ -251,7 +251,7 @@ Public Member Functions - + @@ -261,7 +261,7 @@ Public Member Functions - + @@ -298,43 +298,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t DebugDirCVEntryWrapper::getSize bufsize_t DebugDirCVEntryWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -929,7 +929,7 @@ Here is the call graph for this function:

- + diff --git a/class_debug_dir_wrapper.html b/class_debug_dir_wrapper.html index affbfcab..288dd2b2 100644 --- a/class_debug_dir_wrapper.html +++ b/class_debug_dir_wrapper.html @@ -154,7 +154,7 @@ Public Member Functions - + @@ -166,7 +166,7 @@ Public Member Functions - + @@ -175,7 +175,7 @@ Public Member Functions - + @@ -211,7 +211,7 @@ Public Member Functions - + @@ -223,7 +223,7 @@ Public Member Functions - + @@ -232,7 +232,7 @@ Public Member Functions - + @@ -281,43 +281,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t DebugDirEntryWrapper::getSize bufsize_t DebugDirEntryWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual QString getFieldName (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
bool isRepro ()
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -747,7 +747,7 @@ Here is the call graph for this function:

- + @@ -910,7 +910,7 @@ Here is the call graph for this function:
virtual bufsize_t DebugDirWrapper::getFieldSize virtual bufsize_t DebugDirWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_delay_imp_dir_wrapper.html b/class_delay_imp_dir_wrapper.html index b5bb1f5f..692c8c42 100644 --- a/class_delay_imp_dir_wrapper.html +++ b/class_delay_imp_dir_wrapper.html @@ -156,7 +156,7 @@ Public Member Functions - + @@ -177,7 +177,7 @@ Public Member Functions - + @@ -194,7 +194,7 @@ Public Member Functions - + @@ -228,7 +228,7 @@ Public Member Functions - + @@ -240,14 +240,14 @@ Public Member Functions - + - + @@ -296,43 +296,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
virtual bufsize_t DebugDirWrapper::getSize virtual bufsize_t DebugDirWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual QString getFieldName (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
QString thunkToFuncName (offset_t thunk, bool shortName=true)
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
- Public Member Functions inherited from ExeElementWrapper
 ExeElementWrapper (Executable *exe)
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + - + @@ -384,7 +384,7 @@ Friends - + @@ -548,7 +548,7 @@ Here is the call graph for this function: - +

@@ -345,9 +345,9 @@ Protected Member Functions

 
pe::IMAGE_DELAY_LOAD * firstDelayLd ()
 
void * firstDelayLd (bufsize_t size)
void * firstDelayLd (bufsize_t size)
 
bufsize_t getEntrySize ()
bufsize_t getEntrySize ()
 
- Protected Member Functions inherited from ImportBaseDirWrapper
 ImportBaseDirWrapper (PEFile *pe, pe::dir_entry v_entryType)

Additional Inherited Members

- Static Public Member Functions inherited from ImportBaseDirWrapper
static bufsize_t thunkSize (Executable::exe_bits bits)
static bufsize_t thunkSize (Executable::exe_bits bits)
 
- Static Public Member Functions inherited from AbstractByteBuffer
static bool isValid (AbstractByteBuffer *buf)
void * DelayImpDirWrapper::firstDelayLd (bufsize_t size)bufsize_t size)
@@ -606,7 +606,7 @@ Here is the call graph for this function:
- + @@ -704,7 +704,7 @@ Here is the call graph for this function:
bufsize_t DelayImpDirWrapper::getEntrySize bufsize_t DelayImpDirWrapper::getEntrySize ( ) - + diff --git a/class_delay_imp_entry_wrapper.html b/class_delay_imp_entry_wrapper.html index c75cdfb0..12a14bcf 100644 --- a/class_delay_imp_entry_wrapper.html +++ b/class_delay_imp_entry_wrapper.html @@ -179,7 +179,7 @@ Public Member Functions - + @@ -230,7 +230,7 @@ Public Member Functions - + @@ -242,14 +242,14 @@ Public Member Functions - + - + @@ -259,7 +259,7 @@ Public Member Functions - + @@ -298,43 +298,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t DelayImpDirWrapper::getSize bufsize_t DelayImpDirWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
- Public Member Functions inherited from ExeElementWrapper
 ExeElementWrapper (Executable *exe)
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + @@ -973,7 +973,7 @@ Here is the call graph for this function:

@@ -378,7 +378,7 @@ Additional Inherited Members

static bool isValid (AbstractByteBuffer *buf)
 
- Static Public Attributes inherited from ImportBaseEntryWrapper
static bufsize_t NameLenLimit = 0xFF
static bufsize_t NameLenLimit = 0xFF
 
- Protected Attributes inherited from ImportBaseEntryWrapper
std::map< offset_t, size_t > thunkToFuncMap
- + diff --git a/class_delay_imp_func_wrapper.html b/class_delay_imp_func_wrapper.html index b9b499e7..1e793304 100644 --- a/class_delay_imp_func_wrapper.html +++ b/class_delay_imp_func_wrapper.html @@ -169,7 +169,7 @@ Public Member Functions - + @@ -177,7 +177,7 @@ Public Member Functions - + @@ -204,9 +204,9 @@ Public Member Functions - + - + @@ -240,7 +240,7 @@ Public Member Functions - + @@ -252,14 +252,14 @@ Public Member Functions - + - + @@ -306,43 +306,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t DelayImpEntryWrapper::getSize bufsize_t DelayImpEntryWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual size_t getFieldsCount ()
 
 
virtual void * getFieldPtr (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual QString getFieldName (size_t fieldId)
 
 
virtual bool isValid ()
 
bufsize_t getAddrSize ()
bufsize_t getAddrSize ()
 
bufsize_t getThunkValSize ()
bufsize_t getThunkValSize ()
 
- Public Member Functions inherited from PENodeWrapper
 PENodeWrapper (PEFile *pe, PENodeWrapper *parent=NULL)
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
- Public Member Functions inherited from ExeElementWrapper
 ExeElementWrapper (Executable *exe)
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -685,7 +685,7 @@ Here is the call graph for this function:

- + @@ -930,7 +930,7 @@ Here is the call graph for this function:
bufsize_t DelayImpFuncWrapper::getFieldSize bufsize_t DelayImpFuncWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_dos_hdr_wrapper.html b/class_dos_hdr_wrapper.html index 3a6d0c3f..134e00e7 100644 --- a/class_dos_hdr_wrapper.html +++ b/class_dos_hdr_wrapper.html @@ -150,7 +150,7 @@ Public Member Functions - + @@ -169,7 +169,7 @@ Public Member Functions - + @@ -181,7 +181,7 @@ Public Member Functions - + @@ -220,43 +220,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
virtual bufsize_t DelayImpFuncWrapper::getSize virtual bufsize_t DelayImpFuncWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual bool wrap ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -553,7 +553,7 @@ Here is the call graph for this function:

- + diff --git a/class_exception_dir_wrapper.html b/class_exception_dir_wrapper.html index 454393af..34d308ab 100644 --- a/class_exception_dir_wrapper.html +++ b/class_exception_dir_wrapper.html @@ -155,7 +155,7 @@ Public Member Functions - + @@ -172,7 +172,7 @@ Public Member Functions - + @@ -208,7 +208,7 @@ Public Member Functions - + @@ -220,7 +220,7 @@ Public Member Functions - + @@ -229,7 +229,7 @@ Public Member Functions - + @@ -239,7 +239,7 @@ Public Member Functions - + @@ -280,43 +280,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
virtual bufsize_t DosHdrWrapper::getSize virtual bufsize_t DosHdrWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -762,7 +762,7 @@ Here is the call graph for this function:

- + diff --git a/class_exception_entry_wrapper.html b/class_exception_entry_wrapper.html index 9ed4604b..a80acdaa 100644 --- a/class_exception_entry_wrapper.html +++ b/class_exception_entry_wrapper.html @@ -141,7 +141,7 @@ Public Member Functions - + @@ -176,7 +176,7 @@ Public Member Functions - + @@ -188,7 +188,7 @@ Public Member Functions - + @@ -197,7 +197,7 @@ Public Member Functions - + @@ -207,7 +207,7 @@ Public Member Functions - + @@ -246,43 +246,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
virtual bufsize_t ExceptionDirWrapper::getSize virtual bufsize_t ExceptionDirWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -675,7 +675,7 @@ Here is the call graph for this function:

- + diff --git a/class_exe_element_wrapper.html b/class_exe_element_wrapper.html index 367656b2..bc53a76c 100644 --- a/class_exe_element_wrapper.html +++ b/class_exe_element_wrapper.html @@ -119,13 +119,13 @@ Public Member Functions - + - + @@ -141,7 +141,7 @@ Public Member Functions - + @@ -184,43 +184,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t ExceptionEntryWrapper::getSize bufsize_t ExceptionEntryWrapper::getSize ( )
 
virtual bool wrap ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual void * getPtr ()=0
 
virtual bufsize_t getSize ()=0
virtual bufsize_t getSize ()=0
 
virtual QString getName ()=0
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -503,7 +503,7 @@ Here is the call graph for this function:

- + @@ -747,7 +747,7 @@ Here is the call graph for this function:
virtual bufsize_t ExeElementWrapper::getContentSize virtual bufsize_t ExeElementWrapper::getContentSize ( ) - + @@ -1022,7 +1022,7 @@ Here is the call graph for this function:
bufsize_t ExeElementWrapper::getFieldSize bufsize_t ExeElementWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_exe_node_wrapper.html b/class_exe_node_wrapper.html index 86f626cc..66d24fe5 100644 --- a/class_exe_node_wrapper.html +++ b/class_exe_node_wrapper.html @@ -139,7 +139,7 @@ Public Member Functions - + @@ -153,7 +153,7 @@ Public Member Functions - + @@ -162,13 +162,13 @@ Public Member Functions - + - + @@ -182,7 +182,7 @@ Public Member Functions - + @@ -223,43 +223,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
virtual bufsize_t ExeElementWrapper::getSize virtual bufsize_t ExeElementWrapper::getSize ( )
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual void * getPtr ()=0
 
virtual bufsize_t getSize ()=0
virtual bufsize_t getSize ()=0
 
virtual QString getName ()=0
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -784,7 +784,7 @@ Here is the call graph for this function:

- + @@ -1437,7 +1437,7 @@ Here is the call graph for this function:
bufsize_t ExeNodeWrapper::geEntrySize bufsize_t ExeNodeWrapper::geEntrySize ( ) - + diff --git a/class_executable.html b/class_executable.html index 84533f63..c9d8c825 100644 --- a/class_executable.html +++ b/class_executable.html @@ -141,27 +141,27 @@ Public Member Functions - + - + - + - + - + - + - + @@ -187,7 +187,7 @@ Public Member Functions - + @@ -195,9 +195,9 @@ Public Member Functions - + - + @@ -208,37 +208,37 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t ExeNodeWrapper::getSubfieldSize bufsize_t ExeNodeWrapper::getSubfieldSize ( size_t fieldId,
 
virtual exe_arch getArch ()=0
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual offset_t getRawSize () const
 
BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAt (offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions=false)
 
virtual bufsize_t getMappedSize (Executable::addr_type aType)=0
virtual bufsize_t getMappedSize (Executable::addr_type aType)=0
 
virtual bufsize_t getAlignment (Executable::addr_type aType) const =0
virtual bufsize_t getAlignment (Executable::addr_type aType) const =0
 
virtual offset_t getImageBase (bool recalculate=false)=0
 
virtual offset_t getEntryPoint (Executable::addr_type aType=Executable::RVA)=0
 
virtual bufsize_t getImageSize ()
virtual bufsize_t getImageSize ()
 
virtual size_t getAllEntryPoints (QMap< offset_t, QString > &entrypoints, Executable::addr_type aType=Executable::RVA)
 
 
QString getFileName ()
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
virtual bool isResized ()
 
 
AbstractByteBuffergetFileBuffer () const
 
bufsize_t getFileSize () const
bufsize_t getFileSize () const
 
virtual bool dumpFragment (offset_t offset, bufsize_t size, QString fileName)
virtual bool dumpFragment (offset_t offset, bufsize_t size, QString fileName)
 
- Public Member Functions inherited from AbstractByteBuffer
 AbstractByteBuffer ()
 
virtual offset_t getOffset (void *ptr, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + @@ -554,7 +554,7 @@ Here is the call graph for this function:

@@ -511,7 +511,7 @@ Here is the call graph for this function:

bufsize_t size, bufsize_t size,
- + @@ -716,7 +716,7 @@ Here is the call graph for this function: - + @@ -773,7 +773,7 @@ Here is the call graph for this function: - + @@ -841,7 +841,7 @@ Here is the call graph for this function: - + @@ -892,7 +892,7 @@ Here is the call graph for this function:
virtual bufsize_t Executable::getAlignment virtual bufsize_t Executable::getAlignment ( Executable::addr_type aType) const
bufsize_t size, bufsize_t size,
bufsize_t size, bufsize_t size,
bufsize_t size, bufsize_t size,
- + @@ -1011,7 +1011,7 @@ Here is the call graph for this function:
virtual bufsize_t Executable::getContentSize virtual bufsize_t Executable::getContentSize ( )
- + @@ -1070,7 +1070,7 @@ Here is the call graph for this function:
bufsize_t Executable::getFileSize bufsize_t Executable::getFileSize ( ) const - + @@ -1107,7 +1107,7 @@ Here is the call graph for this function: - + @@ -202,7 +202,7 @@ Public Member Functions - + @@ -236,7 +236,7 @@ Public Member Functions - + @@ -248,7 +248,7 @@ Public Member Functions - + @@ -257,7 +257,7 @@ Public Member Functions - + @@ -267,7 +267,7 @@ Public Member Functions - + @@ -306,43 +306,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
virtual bufsize_t Executable::getImageSize virtual bufsize_t Executable::getImageSize ( ) - + @@ -1486,7 +1486,7 @@ Here is the call graph for this function: - +
virtual bufsize_t Executable::getMappedSize virtual bufsize_t Executable::getMappedSize ( Executable::addr_type aType)
virtual bool Executable::resize (bufsize_t newSize)bufsize_t newSize)
diff --git a/class_export_dir_wrapper.html b/class_export_dir_wrapper.html index a0a8b821..9f67996f 100644 --- a/class_export_dir_wrapper.html +++ b/class_export_dir_wrapper.html @@ -181,7 +181,7 @@ Public Member Functions
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -1114,7 +1114,7 @@ Here is the call graph for this function:

- + diff --git a/class_export_entry_wrapper.html b/class_export_entry_wrapper.html index 4b592575..8b2d2c1d 100644 --- a/class_export_entry_wrapper.html +++ b/class_export_entry_wrapper.html @@ -129,7 +129,7 @@ Public Member Functions - + @@ -139,7 +139,7 @@ Public Member Functions - + @@ -184,7 +184,7 @@ Public Member Functions - + @@ -196,7 +196,7 @@ Public Member Functions - + @@ -205,7 +205,7 @@ Public Member Functions - + @@ -252,43 +252,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t ExportDirWrapper::getSize bufsize_t ExportDirWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getFieldPtr (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual QString getFieldName (size_t fieldId)
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -557,7 +557,7 @@ Here is the call graph for this function:

- + @@ -823,7 +823,7 @@ Here is the call graph for this function: - + @@ -328,7 +328,7 @@ Here is the call graph for this function: - + @@ -199,7 +199,7 @@ Public Member Functions - + @@ -211,7 +211,7 @@ Public Member Functions - + @@ -248,43 +248,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
virtual bufsize_t ExportEntryWrapper::getFieldSize virtual bufsize_t ExportEntryWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_file_buffer.html b/class_file_buffer.html index 36039028..e60fbe76 100644 --- a/class_file_buffer.html +++ b/class_file_buffer.html @@ -112,17 +112,17 @@ Collaboration diagram for FileBuffer:
bufsize_t ExportEntryWrapper::getSize bufsize_t ExportEntryWrapper::getSize ( )
- + - + - + @@ -137,41 +137,41 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -193,19 +193,19 @@ Additional Inherited Members - + - + - + - + - +

Public Member Functions

 FileBuffer (QString &fileName, bufsize_t minSize, bool allowTruncate)
 FileBuffer (QString &fileName, bufsize_t minSize, bool allowTruncate)
 
virtual ~FileBuffer ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
offset_t getFileSize ()
 
bool resize (bufsize_t newSize)
bool resize (bufsize_t newSize)
 
virtual bool isResized ()
 
 
virtual offset_t getOffset (void *ptr, bool allowExceptions=false)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- Public Member Functions inherited from AbstractFileBuffer
QString getFileName ()
static bool isValid (AbstractByteBuffer *buf)
 
- Static Public Member Functions inherited from AbstractFileBuffer
static ByteBufferread (QString &file, bufsize_t minBufSize, const bool allowTruncate)
static ByteBufferread (QString &file, bufsize_t minBufSize, const bool allowTruncate)
 
static bufsize_t getReadableSize (QFile &fIn)
static bufsize_t getReadableSize (QFile &fIn)
 
static bufsize_t getReadableSize (const QString &path)
static bufsize_t getReadableSize (const QString &path)
 
static bufsize_t dump (const QString &fileName, AbstractByteBuffer &buf, bool allowExceptions=false)
static bufsize_t dump (const QString &fileName, AbstractByteBuffer &buf, bool allowExceptions=false)
 
- Protected Member Functions inherited from AbstractFileBuffer
 AbstractFileBuffer (QString v_fileName)
 
- Static Protected Member Functions inherited from AbstractFileBuffer
static ByteBufferread (QFile &fIn, bufsize_t minBufSize, const bool allowTruncate)
static ByteBufferread (QFile &fIn, bufsize_t minBufSize, const bool allowTruncate)
 

Detailed Description

@@ -229,7 +229,7 @@ Additional Inherited Members
bufsize_t minSize, bufsize_t minSize,
- + @@ -444,7 +444,7 @@ Here is the call graph for this function: - +
virtual bufsize_t FileBuffer::getContentSize virtual bufsize_t FileBuffer::getContentSize ( )
bool FileBuffer::resize (bufsize_t newSize)bufsize_t newSize)
diff --git a/class_file_hdr_wrapper.html b/class_file_hdr_wrapper.html index c0fe3f8a..478912a6 100644 --- a/class_file_hdr_wrapper.html +++ b/class_file_hdr_wrapper.html @@ -173,7 +173,7 @@ Public Member Functions
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- +

@@ -644,7 +644,7 @@ Here is the call graph for this function:

- + diff --git a/class_file_view.html b/class_file_view.html index 981ffc00..a45bebc1 100644 --- a/class_file_view.html +++ b/class_file_view.html @@ -110,15 +110,15 @@ Collaboration diagram for FileView:
virtual bufsize_t FileHdrWrapper::getSize virtual bufsize_t FileHdrWrapper::getSize ( )
- + - + - + @@ -133,43 +133,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -177,26 +177,26 @@ Public Member Functions

Public Member Functions

 FileView (QString &fileName, bufsize_t maxSize=FILE_MAXSIZE)
 FileView (QString &fileName, bufsize_t maxSize=FILE_MAXSIZE)
 
virtual ~FileView ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
bufsize_t getMappableSize ()
bufsize_t getMappableSize ()
 
virtual bool isTruncated ()
 
 
virtual offset_t getOffset (void *ptr, bool allowExceptions=false)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- Public Member Functions inherited from AbstractFileBuffer
QString getFileName ()
- + - + - + - + - +

Static Public Member Functions

static bufsize_t getMappableSize (QFile &fIn)
static bufsize_t getMappableSize (QFile &fIn)
 
- Static Public Member Functions inherited from AbstractByteBuffer
static bool isValid (AbstractByteBuffer *buf)
 
- Static Public Member Functions inherited from AbstractFileBuffer
static ByteBufferread (QString &file, bufsize_t minBufSize, const bool allowTruncate)
static ByteBufferread (QString &file, bufsize_t minBufSize, const bool allowTruncate)
 
static bufsize_t getReadableSize (QFile &fIn)
static bufsize_t getReadableSize (QFile &fIn)
 
static bufsize_t getReadableSize (const QString &path)
static bufsize_t getReadableSize (const QString &path)
 
static bufsize_t dump (const QString &fileName, AbstractByteBuffer &buf, bool allowExceptions=false)
static bufsize_t dump (const QString &fileName, AbstractByteBuffer &buf, bool allowExceptions=false)
 
- + @@ -212,7 +212,7 @@ Additional Inherited Members - +

Protected Attributes

BYTE * mappedContent
 
bufsize_t mappedSize
bufsize_t mappedSize
 
QFile fIn
 
 AbstractFileBuffer (QString v_fileName)
 
- Static Protected Member Functions inherited from AbstractFileBuffer
static ByteBufferread (QFile &fIn, bufsize_t minBufSize, const bool allowTruncate)
static ByteBufferread (QFile &fIn, bufsize_t minBufSize, const bool allowTruncate)
 

Detailed Description

@@ -233,7 +233,7 @@ Additional Inherited Members
bufsize_t maxSize = FILE_MAXSIZE )bufsize_t maxSize = FILE_MAXSIZE )
@@ -322,7 +322,7 @@ Here is the call graph for this function:
- + @@ -351,7 +351,7 @@ Here is the call graph for this function:
virtual bufsize_t FileView::getContentSize virtual bufsize_t FileView::getContentSize ( ) - + @@ -387,7 +387,7 @@ Here is the call graph for this function:
bufsize_t FileView::getMappableSize bufsize_t FileView::getMappableSize ( ) - + @@ -502,7 +502,7 @@ Here is the call graph for this function: diff --git a/class_import_base_dir_wrapper.html b/class_import_base_dir_wrapper.html index 6e9f7b7b..70435fab 100644 --- a/class_import_base_dir_wrapper.html +++ b/class_import_base_dir_wrapper.html @@ -168,7 +168,7 @@ Public Member Functions - + @@ -185,7 +185,7 @@ Public Member Functions - + @@ -219,7 +219,7 @@ Public Member Functions - + @@ -231,20 +231,20 @@ Public Member Functions - + - + - + @@ -293,48 +293,48 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t FileView::getMappableSize bufsize_t FileView::getMappableSize ( QFile & fIn) - +
bufsize_t FileView::mappedSizebufsize_t FileView::mappedSize
 
virtual QString getFieldName (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
QString thunkToFuncName (offset_t thunk, bool shortName=true)
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
- Public Member Functions inherited from ExeElementWrapper
 ExeElementWrapper (Executable *exe)
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual void * getPtr ()=0
 
virtual bufsize_t getSize ()=0
virtual bufsize_t getSize ()=0
 
virtual QString getName ()=0
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + @@ -769,7 +769,7 @@ Here is the call graph for this function:

Static Public Member Functions

static bufsize_t thunkSize (Executable::exe_bits bits)
static bufsize_t thunkSize (Executable::exe_bits bits)
 
- Static Public Member Functions inherited from AbstractByteBuffer
static bool isValid (AbstractByteBuffer *buf)
- + @@ -1011,7 +1011,7 @@ Here is the call graph for this function:
virtual bufsize_t ImportBaseDirWrapper::getFieldSize virtual bufsize_t ImportBaseDirWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_import_base_entry_wrapper.html b/class_import_base_entry_wrapper.html index 9ada9443..e68d8c9d 100644 --- a/class_import_base_entry_wrapper.html +++ b/class_import_base_entry_wrapper.html @@ -193,7 +193,7 @@ Public Member Functions - + @@ -207,20 +207,20 @@ Public Member Functions - + - + - + @@ -234,7 +234,7 @@ Public Member Functions - + @@ -275,48 +275,48 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t ImportBaseDirWrapper::thunkSize bufsize_t ImportBaseDirWrapper::thunkSize ( Executable::exe_bits bits)
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
- Public Member Functions inherited from ExeElementWrapper
 ExeElementWrapper (Executable *exe)
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual void * getPtr ()=0
 
virtual bufsize_t getSize ()=0
virtual bufsize_t getSize ()=0
 
virtual QString getName ()=0
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- +

Static Public Attributes

static bufsize_t NameLenLimit = 0xFF
static bufsize_t NameLenLimit = 0xFF
 
diff --git a/class_import_base_func_wrapper.html b/class_import_base_func_wrapper.html index c580f233..dca6d77b 100644 --- a/class_import_base_func_wrapper.html +++ b/class_import_base_func_wrapper.html @@ -167,9 +167,9 @@ Public Member Functions - + - + @@ -205,7 +205,7 @@ Public Member Functions - + @@ -219,20 +219,20 @@ Public Member Functions - + - + - + @@ -244,7 +244,7 @@ Public Member Functions - + @@ -285,43 +285,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

@@ -755,7 +755,7 @@ Here is the call graph for this function:

- +
bufsize_t ImportBaseEntryWrapper::NameLenLimit = 0xFFbufsize_t ImportBaseEntryWrapper::NameLenLimit = 0xFF
 
virtual offset_t callVia ()=0
 
bufsize_t getAddrSize ()
bufsize_t getAddrSize ()
 
bufsize_t getThunkValSize ()
bufsize_t getThunkValSize ()
 
- Public Member Functions inherited from PENodeWrapper
 PENodeWrapper (PEFile *pe, PENodeWrapper *parent=NULL)
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
- Public Member Functions inherited from ExeElementWrapper
 ExeElementWrapper (Executable *exe)
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual void * getPtr ()=0
 
virtual bufsize_t getSize ()=0
virtual bufsize_t getSize ()=0
 
virtual size_t getFieldsCount ()=0
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -477,7 +477,7 @@ Here is the call graph for this function:

- + @@ -726,7 +726,7 @@ Here is the call graph for this function:
bufsize_t ImportBaseFuncWrapper::getAddrSize bufsize_t ImportBaseFuncWrapper::getAddrSize ( ) - + diff --git a/class_import_dir_wrapper.html b/class_import_dir_wrapper.html index bd89e167..e6c78045 100644 --- a/class_import_dir_wrapper.html +++ b/class_import_dir_wrapper.html @@ -156,7 +156,7 @@ Public Member Functions - + @@ -177,7 +177,7 @@ Public Member Functions - + @@ -194,7 +194,7 @@ Public Member Functions - + @@ -228,7 +228,7 @@ Public Member Functions - + @@ -240,14 +240,14 @@ Public Member Functions - + - + @@ -296,43 +296,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t ImportBaseFuncWrapper::getThunkValSize bufsize_t ImportBaseFuncWrapper::getThunkValSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual QString getFieldName (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
QString thunkToFuncName (offset_t thunk, bool shortName=true)
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
- Public Member Functions inherited from ExeElementWrapper
 ExeElementWrapper (Executable *exe)
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + @@ -655,7 +655,7 @@ Here is the call graph for this function:

@@ -378,7 +378,7 @@ Friends

Additional Inherited Members

- Static Public Member Functions inherited from ImportBaseDirWrapper
static bufsize_t thunkSize (Executable::exe_bits bits)
static bufsize_t thunkSize (Executable::exe_bits bits)
 
- Static Public Member Functions inherited from AbstractByteBuffer
static bool isValid (AbstractByteBuffer *buf)
- + diff --git a/class_import_entry_wrapper.html b/class_import_entry_wrapper.html index cd879cb5..118e08f1 100644 --- a/class_import_entry_wrapper.html +++ b/class_import_entry_wrapper.html @@ -175,7 +175,7 @@ Public Member Functions - + @@ -189,7 +189,7 @@ Public Member Functions - + @@ -232,7 +232,7 @@ Public Member Functions - + @@ -247,7 +247,7 @@ Public Member Functions - + @@ -257,7 +257,7 @@ Public Member Functions - + @@ -296,43 +296,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t ImportDirWrapper::getSize bufsize_t ImportDirWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
bool isBound ()
 
 
virtual Executable::addr_type containsAddrType (size_t fieldId, size_t subField=FIELD_NONE)
 
bufsize_t geEntrySize ()
bufsize_t geEntrySize ()
 
virtual offset_t getNextEntryOffset ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + @@ -566,7 +566,7 @@ Here is the call graph for this function:

@@ -372,7 +372,7 @@ Additional Inherited Members

static bool isValid (AbstractByteBuffer *buf)
 
- Static Public Attributes inherited from ImportBaseEntryWrapper
static bufsize_t NameLenLimit = 0xFF
static bufsize_t NameLenLimit = 0xFF
 
- Protected Attributes inherited from ImportBaseEntryWrapper
std::map< offset_t, size_t > thunkToFuncMap
- + @@ -907,7 +907,7 @@ Here is the call graph for this function:
bufsize_t ImportEntryWrapper::geEntrySize bufsize_t ImportEntryWrapper::geEntrySize ( ) - + diff --git a/class_imported_func_wrapper.html b/class_imported_func_wrapper.html index c0e5c6cc..412d3dba 100644 --- a/class_imported_func_wrapper.html +++ b/class_imported_func_wrapper.html @@ -172,7 +172,7 @@ Public Member Functions - + @@ -180,7 +180,7 @@ Public Member Functions - + @@ -211,9 +211,9 @@ Public Member Functions - + - + @@ -247,7 +247,7 @@ Public Member Functions - + @@ -259,14 +259,14 @@ Public Member Functions - + - + @@ -313,43 +313,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t ImportEntryWrapper::getSize bufsize_t ImportEntryWrapper::getSize ( )
 
virtual IMAGE_IMPORT_BY_NAME * getImportByNamePtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual size_t getFieldsCount ()
 
 
virtual void * getFieldPtr (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual QString getFieldName (size_t fieldId)
 
 
virtual bool isValid ()
 
bufsize_t getAddrSize ()
bufsize_t getAddrSize ()
 
bufsize_t getThunkValSize ()
bufsize_t getThunkValSize ()
 
- Public Member Functions inherited from PENodeWrapper
 PENodeWrapper (PEFile *pe, PENodeWrapper *parent=NULL)
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
- Public Member Functions inherited from ExeElementWrapper
 ExeElementWrapper (Executable *exe)
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -795,7 +795,7 @@ Here is the call graph for this function:

- + @@ -1070,7 +1070,7 @@ Here is the call graph for this function:
bufsize_t ImportedFuncWrapper::getFieldSize bufsize_t ImportedFuncWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_ld_config_dir_wrapper.html b/class_ld_config_dir_wrapper.html index e5fc09c3..5c5a9190 100644 --- a/class_ld_config_dir_wrapper.html +++ b/class_ld_config_dir_wrapper.html @@ -228,7 +228,7 @@ Public Member Functions - + @@ -261,7 +261,7 @@ Public Member Functions - + @@ -295,7 +295,7 @@ Public Member Functions - + @@ -307,7 +307,7 @@ Public Member Functions - + @@ -316,7 +316,7 @@ Public Member Functions - + @@ -326,7 +326,7 @@ Public Member Functions - + @@ -361,43 +361,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t ImportedFuncWrapper::getSize bufsize_t ImportedFuncWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -1047,7 +1047,7 @@ Here is the call graph for this function:

- + diff --git a/class_ld_config_entry_wrapper.html b/class_ld_config_entry_wrapper.html index c95d53d8..65e8b7d1 100644 --- a/class_ld_config_entry_wrapper.html +++ b/class_ld_config_entry_wrapper.html @@ -129,7 +129,7 @@ Public Member Functions - + @@ -137,7 +137,7 @@ Public Member Functions - + @@ -168,7 +168,7 @@ Public Member Functions - + @@ -180,7 +180,7 @@ Public Member Functions - + @@ -189,7 +189,7 @@ Public Member Functions - + @@ -236,43 +236,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t LdConfigDirWrapper::getSize bufsize_t LdConfigDirWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getFieldPtr (size_t fieldId, size_t subField=FIELD_NONE)
 
bufsize_t getFieldSize (size_t fieldId, size_t subField)
bufsize_t getFieldSize (size_t fieldId, size_t subField)
 
virtual QString getFieldName (size_t fieldId)
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + @@ -212,7 +212,7 @@ Public Member Functions - + @@ -238,7 +238,7 @@ Public Member Functions - + @@ -285,43 +285,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

@@ -553,7 +553,7 @@ Here is the call graph for this function:

- + @@ -667,7 +667,7 @@ Here is the call graph for this function: - +
bufsize_t LdConfigEntryWrapper::getFieldSize bufsize_t LdConfigEntryWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_mapped_exe.html b/class_mapped_exe.html index 865ed0d8..7bceb562 100644 --- a/class_mapped_exe.html +++ b/class_mapped_exe.html @@ -112,9 +112,9 @@ Collaboration diagram for MappedExe:
bufsize_t LdConfigEntryWrapper::getSize bufsize_t LdConfigEntryWrapper::getSize ( )
- + - + @@ -129,27 +129,27 @@ Public Member Functions - + - + - + - + - + - + - + @@ -181,9 +181,9 @@ Public Member Functions - + - + @@ -194,37 +194,37 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + @@ -383,7 +383,7 @@ Here is the call graph for this function: - +

Public Member Functions

virtual bool canResize (bufsize_t newSize)
virtual bool canResize (bufsize_t newSize)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
virtual void wrap ()=0
 
 
virtual exe_arch getArch ()=0
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual offset_t getRawSize () const
 
BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAt (offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions=false)
 
virtual bufsize_t getMappedSize (Executable::addr_type aType)=0
virtual bufsize_t getMappedSize (Executable::addr_type aType)=0
 
virtual bufsize_t getAlignment (Executable::addr_type aType) const =0
virtual bufsize_t getAlignment (Executable::addr_type aType) const =0
 
virtual offset_t getImageBase (bool recalculate=false)=0
 
virtual offset_t getEntryPoint (Executable::addr_type aType=Executable::RVA)=0
 
virtual bufsize_t getImageSize ()
virtual bufsize_t getImageSize ()
 
virtual size_t getAllEntryPoints (QMap< offset_t, QString > &entrypoints, Executable::addr_type aType=Executable::RVA)
 
 
AbstractByteBuffergetFileBuffer () const
 
bufsize_t getFileSize () const
bufsize_t getFileSize () const
 
virtual bool dumpFragment (offset_t offset, bufsize_t size, QString fileName)
virtual bool dumpFragment (offset_t offset, bufsize_t size, QString fileName)
 
- Public Member Functions inherited from AbstractByteBuffer
 AbstractByteBuffer ()
 
virtual offset_t getOffset (void *ptr, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- Public Member Functions inherited from ExeWrappersContainer
 ExeWrappersContainer ()
virtual bool MappedExe::canResize (bufsize_t newSize)bufsize_t newSize)
@@ -412,7 +412,7 @@ Here is the call graph for this function:
virtual bool MappedExe::resize (bufsize_t newSize)bufsize_t newSize)
diff --git a/class_opt_hdr_wrapper.html b/class_opt_hdr_wrapper.html index c94e63c2..54c637da 100644 --- a/class_opt_hdr_wrapper.html +++ b/class_opt_hdr_wrapper.html @@ -204,7 +204,7 @@ Public Member Functions
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getFieldPtr (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual QString translateFieldContent (size_t fieldId)
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -678,7 +678,7 @@ Here is the call graph for this function:

- + @@ -825,7 +825,7 @@ Here is the call graph for this function: - +
bufsize_t OptHdrWrapper::getFieldSize bufsize_t OptHdrWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_p_e_core.html b/class_p_e_core.html index 2f74a82f..0b998bd2 100644 --- a/class_p_e_core.html +++ b/class_p_e_core.html @@ -117,11 +117,11 @@ Public Member Functions - + - + @@ -135,11 +135,11 @@ Public Member Functions - + - + - + @@ -246,7 +246,7 @@ Here is the call graph for this function: - +
bufsize_t OptHdrWrapper::getSize bufsize_t OptHdrWrapper::getSize ( )
 
virtual offset_t getRawSize () const
 
virtual bufsize_t getAlignment (Executable::addr_type aType) const
virtual bufsize_t getAlignment (Executable::addr_type aType) const
 
virtual offset_t getImageBase (bool recalculate=false)
 
virtual bufsize_t getImageSize ()
virtual bufsize_t getImageSize ()
 
Executable::exe_bits getHdrBitMode () const
 
 
offset_t peOptHdrOffset () const
 
bufsize_t peNtHeadersSize () const
bufsize_t peNtHeadersSize () const
 
bufsize_t hdrsSize () const
bufsize_t hdrsSize () const
 
void setImageSize (bufsize_t newSize)
void setImageSize (bufsize_t newSize)
 
IMAGE_FILE_HEADER * getFileHeader () const
 
- + @@ -375,7 +375,7 @@ Here is the call graph for this function: - + - + @@ -183,7 +183,7 @@ Public Member Functions - + @@ -226,43 +226,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t PECore::getAlignment bufsize_t PECore::getAlignment ( Executable::addr_type aType) const - + @@ -426,7 +426,7 @@ Here is the call graph for this function:
bufsize_t PECore::getImageSize bufsize_t PECore::getImageSize ( )
- + @@ -483,7 +483,7 @@ Here is the call graph for this function:
bufsize_t PECore::hdrsSize bufsize_t PECore::hdrsSize ( ) const
- + @@ -627,7 +627,7 @@ Here is the call graph for this function: - +
bufsize_t PECore::peNtHeadersSize bufsize_t PECore::peNtHeadersSize ( ) const
void PECore::setImageSize (bufsize_t newSize)bufsize_t newSize)
diff --git a/class_p_e_element_wrapper.html b/class_p_e_element_wrapper.html index 275656f8..1a3c3798 100644 --- a/class_p_e_element_wrapper.html +++ b/class_p_e_element_wrapper.html @@ -161,13 +161,13 @@ Public Member Functions
 
virtual bool wrap ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual void * getPtr ()=0
 
virtual bufsize_t getSize ()=0
virtual bufsize_t getSize ()=0
 
virtual QString getName ()=0
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + - + @@ -217,13 +217,13 @@ Public Member Functions - + - + @@ -271,9 +271,9 @@ Public Member Functions - + - + @@ -325,18 +325,18 @@ Public Member Functions - + - + - + - + - + @@ -345,19 +345,19 @@ Public Member Functions - + - + - + - + - + @@ -383,9 +383,9 @@ Public Member Functions - + - + @@ -396,37 +396,37 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + @@ -485,7 +485,7 @@ Protected Member Functions - + @@ -1252,12 +1252,12 @@ Here is the call graph for this function: - + - +

diff --git a/class_p_e_file.html b/class_p_e_file.html index 1951541b..250d39e2 100644 --- a/class_p_e_file.html +++ b/class_p_e_file.html @@ -201,9 +201,9 @@ Public Member Functions

 
bool wrapDataDirs ()
 
virtual bufsize_t getMappedSize (Executable::addr_type aType)
virtual bufsize_t getMappedSize (Executable::addr_type aType)
 
virtual bufsize_t getAlignment (Executable::addr_type aType) const
virtual bufsize_t getAlignment (Executable::addr_type aType) const
 
virtual offset_t getImageBase (bool recalculate=false)
 
 
offset_t peNtHdrOffset () const
 
bufsize_t peNtHeadersSize () const
bufsize_t peNtHeadersSize () const
 
offset_t peOptHdrOffset () const
 
offset_t secHdrsOffset () const
 
bufsize_t hdrsSize ()
bufsize_t hdrsSize ()
 
ResourcesAlbumgetResourcesAlbum () const
 
 
bool canAddNewSection ()
 
SectionHdrWrapperaddNewSection (QString name, bufsize_t size, bufsize_t v_size=0)
SectionHdrWrapperaddNewSection (QString name, bufsize_t size, bufsize_t v_size=0)
 
SectionHdrWrapperextendLastSection (bufsize_t addedSize)
SectionHdrWrapperextendLastSection (bufsize_t addedSize)
 
bool dumpSection (SectionHdrWrapper *sec, QString fileName)
 
 
bool hasDirectory (const pe::dir_entry &dirNum)
 
bufsize_t getFileAlignment () const
bufsize_t getFileAlignment () const
 
bufsize_t getSectionAlignment () const
bufsize_t getSectionAlignment () const
 
void setImageSize (bufsize_t newSize)
void setImageSize (bufsize_t newSize)
 
bool canResize (bufsize_t newSize)
bool canResize (bufsize_t newSize)
 
bool isReproBuild ()
 
- Public Member Functions inherited from MappedExe
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
- Public Member Functions inherited from Executable
bool isBit64 ()
 
virtual ~Executable (void)
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual offset_t getRawSize () const
 
BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAt (offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, Executable::addr_type aType, bufsize_t size, bool allowExceptions=false)
 
virtual bufsize_t getImageSize ()
virtual bufsize_t getImageSize ()
 
virtual bool isValidAddr (offset_t addr, addr_type addrType)
 
 
AbstractByteBuffergetFileBuffer () const
 
bufsize_t getFileSize () const
bufsize_t getFileSize () const
 
virtual bool dumpFragment (offset_t offset, bufsize_t size, QString fileName)
virtual bool dumpFragment (offset_t offset, bufsize_t size, QString fileName)
 
- Public Member Functions inherited from AbstractByteBuffer
 AbstractByteBuffer ()
 
virtual offset_t getOffset (void *ptr, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- Public Member Functions inherited from ExeWrappersContainer
 ExeWrappersContainer ()
 
bool setHdrSectionsNum (size_t newNum)
 
bool setVirtualSize (bufsize_t newSize)
bool setVirtualSize (bufsize_t newSize)
 
- Protected Member Functions inherited from MappedExe
 MappedExe (AbstractByteBuffer *v_buf, exe_bits v_bitMode)
bufsize_t size, bufsize_t size,
bufsize_t v_size = 0 )bufsize_t v_size = 0 )
@@ -1456,7 +1456,7 @@ Here is the call graph for this function:
bool PEFile::canResize (bufsize_t newSize)bufsize_t newSize)
@@ -1881,7 +1881,7 @@ Here is the call graph for this function:
SectionHdrWrapper * PEFile::extendLastSection (bufsize_t addedSize)bufsize_t addedSize)
@@ -2018,7 +2018,7 @@ Here is the call graph for this function:
- + @@ -2761,7 +2761,7 @@ Here is the call graph for this function:
virtual bufsize_t PEFile::getAlignment virtual bufsize_t PEFile::getAlignment ( Executable::addr_type aType) const - + @@ -3152,7 +3152,7 @@ Here is the call graph for this function:
bufsize_t PEFile::getFileAlignment bufsize_t PEFile::getFileAlignment ( ) const - + @@ -3758,7 +3758,7 @@ Here is the call graph for this function:
bufsize_t PEFile::getMappedSize bufsize_t PEFile::getMappedSize ( Executable::addr_type aType) - + @@ -3964,7 +3964,7 @@ Here is the call graph for this function: - + @@ -195,7 +195,7 @@ Public Member Functions - + @@ -204,13 +204,13 @@ Public Member Functions - + - + @@ -224,7 +224,7 @@ Public Member Functions - + @@ -265,43 +265,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t PEFile::getSectionAlignment bufsize_t PEFile::getSectionAlignment ( ) const - + @@ -4233,7 +4233,7 @@ Here is the call graph for this function: - +
bufsize_t PEFile::hdrsSize bufsize_t PEFile::hdrsSize ( ) - + @@ -4664,7 +4664,7 @@ Here is the call graph for this function: - +
bufsize_t PEFile::peNtHeadersSize bufsize_t PEFile::peNtHeadersSize ( ) const
void PEFile::setImageSize (bufsize_t newSize)bufsize_t newSize)
@@ -4703,7 +4703,7 @@ Here is the call graph for this function:
bool PEFile::setVirtualSize (bufsize_t newSize)bufsize_t newSize)
diff --git a/class_p_e_node_wrapper.html b/class_p_e_node_wrapper.html index 1e2d4b83..803c6110 100644 --- a/class_p_e_node_wrapper.html +++ b/class_p_e_node_wrapper.html @@ -181,7 +181,7 @@ Public Member Functions
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
virtual void * getPtr ()=0
 
virtual bufsize_t getSize ()=0
virtual bufsize_t getSize ()=0
 
virtual QString getName ()=0
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + @@ -180,7 +180,7 @@ Public Member Functions - + @@ -192,14 +192,14 @@ Public Member Functions - + - + @@ -209,7 +209,7 @@ Public Member Functions - + @@ -246,43 +246,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

diff --git a/class_reloc_block_wrapper.html b/class_reloc_block_wrapper.html index ef68f608..2d6db967 100644 --- a/class_reloc_block_wrapper.html +++ b/class_reloc_block_wrapper.html @@ -137,7 +137,7 @@ Public Member Functions

 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
- Public Member Functions inherited from ExeElementWrapper
 ExeElementWrapper (Executable *exe)
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -815,7 +815,7 @@ Here is the call graph for this function:

- + diff --git a/class_reloc_dir_wrapper.html b/class_reloc_dir_wrapper.html index ac7aa32e..236ef78f 100644 --- a/class_reloc_dir_wrapper.html +++ b/class_reloc_dir_wrapper.html @@ -156,7 +156,7 @@ Public Member Functions - + @@ -164,7 +164,7 @@ Public Member Functions - + @@ -175,7 +175,7 @@ Public Member Functions - + @@ -211,7 +211,7 @@ Public Member Functions - + @@ -223,7 +223,7 @@ Public Member Functions - + @@ -232,7 +232,7 @@ Public Member Functions - + @@ -281,43 +281,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t RelocBlockWrapper::getSize bufsize_t RelocBlockWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getFieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField)
 
virtual QString getFieldName (size_t fieldId)
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -686,7 +686,7 @@ Here is the call graph for this function:

- + @@ -850,7 +850,7 @@ Here is the call graph for this function:
virtual bufsize_t RelocDirWrapper::getFieldSize virtual bufsize_t RelocDirWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_reloc_entry_wrapper.html b/class_reloc_entry_wrapper.html index b7ce2fa2..6bfcca55 100644 --- a/class_reloc_entry_wrapper.html +++ b/class_reloc_entry_wrapper.html @@ -129,7 +129,7 @@ Public Member Functions - + @@ -168,7 +168,7 @@ Public Member Functions - + @@ -180,7 +180,7 @@ Public Member Functions - + @@ -189,7 +189,7 @@ Public Member Functions - + @@ -199,7 +199,7 @@ Public Member Functions - + @@ -238,43 +238,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
virtual bufsize_t RelocDirWrapper::getSize virtual bufsize_t RelocDirWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -665,7 +665,7 @@ Here is the call graph for this function:

- + diff --git a/class_reource_h_t_m_l_wrapper.html b/class_reource_h_t_m_l_wrapper.html index 8d7adaed..31867ea2 100644 --- a/class_reource_h_t_m_l_wrapper.html +++ b/class_reource_h_t_m_l_wrapper.html @@ -129,7 +129,7 @@ Public Member Functions - + @@ -137,7 +137,7 @@ Public Member Functions - + @@ -172,7 +172,7 @@ Public Member Functions - + @@ -184,7 +184,7 @@ Public Member Functions - + @@ -193,7 +193,7 @@ Public Member Functions - + @@ -203,7 +203,7 @@ Public Member Functions - + @@ -242,43 +242,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t RelocEntryWrapper::getSize bufsize_t RelocEntryWrapper::getSize ( )
 
void * getResContentPtr ()
 
bufsize_t getResContentSize ()
bufsize_t getResContentSize ()
 
offset_t getContentRaw ()
 
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + diff --git a/class_reource_manifest_wrapper.html b/class_reource_manifest_wrapper.html index d6652515..9c620aa9 100644 --- a/class_reource_manifest_wrapper.html +++ b/class_reource_manifest_wrapper.html @@ -129,7 +129,7 @@ Public Member Functions - + @@ -137,7 +137,7 @@ Public Member Functions - + @@ -172,7 +172,7 @@ Public Member Functions - + @@ -184,7 +184,7 @@ Public Member Functions - + @@ -193,7 +193,7 @@ Public Member Functions - + @@ -203,7 +203,7 @@ Public Member Functions - + @@ -242,43 +242,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

@@ -288,7 +288,7 @@ Protected Member Functions

- Protected Member Functions inherited from ResourceContentWrapper
 ResourceContentWrapper (Executable *pe, ResourceLeafWrapper *v_leaf, pe::resource_type v_typeId)
 
BYTE * getContentAt (offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize)
BYTE * getContentAt (offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize)
 
- Protected Member Functions inherited from ExeNodeWrapper
size_t getEntriesCount (std::vector< ExeNodeWrapper * > &_entries)
 
void * getResContentPtr ()
 
bufsize_t getResContentSize ()
bufsize_t getResContentSize ()
 
offset_t getContentRaw ()
 
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + diff --git a/class_res_string.html b/class_res_string.html index 0b8006c8..9b1516a0 100644 --- a/class_res_string.html +++ b/class_res_string.html @@ -130,7 +130,7 @@ Public Member Functions - + @@ -142,7 +142,7 @@ Public Member Functions - + @@ -173,7 +173,7 @@ Public Member Functions - + @@ -185,7 +185,7 @@ Public Member Functions - + @@ -194,7 +194,7 @@ Public Member Functions - + @@ -241,43 +241,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

@@ -288,7 +288,7 @@ Protected Member Functions

- Protected Member Functions inherited from ResourceContentWrapper
 ResourceContentWrapper (Executable *pe, ResourceLeafWrapper *v_leaf, pe::resource_type v_typeId)
 
BYTE * getContentAt (offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize)
BYTE * getContentAt (offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize)
 
- Protected Member Functions inherited from ExeNodeWrapper
size_t getEntriesCount (std::vector< ExeNodeWrapper * > &_entries)
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual QString getFieldName (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fId, size_t subField)
virtual bufsize_t getFieldSize (size_t fId, size_t subField)
 
QString getQString ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -560,7 +560,7 @@ Here is the call graph for this function:

- + @@ -688,7 +688,7 @@ Here is the call graph for this function: @@ -785,7 +785,7 @@ Here is the call graph for this function:
bufsize_t ResString::getFieldSize bufsize_t ResString::getFieldSize ( size_t fId,
- + diff --git a/class_resource_content_wrapper.html b/class_resource_content_wrapper.html index cf5d6ced..2ed44612 100644 --- a/class_resource_content_wrapper.html +++ b/class_resource_content_wrapper.html @@ -126,7 +126,7 @@ Public Member Functions - + @@ -134,7 +134,7 @@ Public Member Functions - + @@ -171,7 +171,7 @@ Public Member Functions - + @@ -183,7 +183,7 @@ Public Member Functions - + @@ -192,7 +192,7 @@ Public Member Functions - + @@ -202,7 +202,7 @@ Public Member Functions - + @@ -241,43 +241,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t ResString::getSize bufsize_t ResString::getSize ( )
 
void * getResContentPtr ()
 
bufsize_t getResContentSize ()
bufsize_t getResContentSize ()
 
offset_t getContentRaw ()
 
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
Protected Member Functions - + @@ -484,7 +484,7 @@ Here is the call graph for this function: - +

@@ -292,7 +292,7 @@ Static Public Member Functions

 ResourceContentWrapper (Executable *pe, ResourceLeafWrapper *v_leaf, pe::resource_type v_typeId)
 
BYTE * getContentAt (offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize)
BYTE * getContentAt (offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize)
 
- Protected Member Functions inherited from ExeNodeWrapper
size_t getEntriesCount (std::vector< ExeNodeWrapper * > &_entries)
bufsize_t dataSize )bufsize_t dataSize )
- + @@ -807,7 +807,7 @@ Here is the call graph for this function:
bufsize_t ResourceContentWrapper::getResContentSize bufsize_t ResourceContentWrapper::getResContentSize ( ) - + diff --git a/class_resource_dir_wrapper.html b/class_resource_dir_wrapper.html index 2fdede94..d7162d25 100644 --- a/class_resource_dir_wrapper.html +++ b/class_resource_dir_wrapper.html @@ -171,7 +171,7 @@ Public Member Functions - + @@ -181,11 +181,11 @@ Public Member Functions - + - + @@ -198,7 +198,7 @@ Public Member Functions - + @@ -232,7 +232,7 @@ Public Member Functions - + @@ -244,7 +244,7 @@ Public Member Functions - + @@ -253,7 +253,7 @@ Public Member Functions - + @@ -302,43 +302,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
virtual bufsize_t ResourceContentWrapper::getSize virtual bufsize_t ResourceContentWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getFieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField)
 
virtual QString getFieldName (size_t fieldId)
 
bufsize_t getEntriesAreaSize ()
bufsize_t getEntriesAreaSize ()
 
long getDepth ()
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -579,7 +579,7 @@ Here is the call graph for this function:

- + @@ -757,7 +757,7 @@ Here is the call graph for this function:
bufsize_t ResourceDirWrapper::getEntriesAreaSize bufsize_t ResourceDirWrapper::getEntriesAreaSize ( ) - + @@ -866,7 +866,7 @@ Here is the call graph for this function:
bufsize_t ResourceDirWrapper::getFieldSize bufsize_t ResourceDirWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_resource_entry_wrapper.html b/class_resource_entry_wrapper.html index 2fa13b3f..324e2f1b 100644 --- a/class_resource_entry_wrapper.html +++ b/class_resource_entry_wrapper.html @@ -168,7 +168,7 @@ Public Member Functions - + @@ -232,7 +232,7 @@ Public Member Functions - + @@ -244,7 +244,7 @@ Public Member Functions - + @@ -253,7 +253,7 @@ Public Member Functions - + @@ -263,7 +263,7 @@ Public Member Functions - + @@ -302,43 +302,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t ResourceDirWrapper::getSize bufsize_t ResourceDirWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -1022,7 +1022,7 @@ Here is the call graph for this function:

- + diff --git a/class_resource_leaf_wrapper.html b/class_resource_leaf_wrapper.html index 78c9ec60..8b0bd703 100644 --- a/class_resource_leaf_wrapper.html +++ b/class_resource_leaf_wrapper.html @@ -137,7 +137,7 @@ Public Member Functions - + @@ -178,7 +178,7 @@ Public Member Functions - + @@ -190,7 +190,7 @@ Public Member Functions - + @@ -199,7 +199,7 @@ Public Member Functions - + @@ -209,7 +209,7 @@ Public Member Functions - + @@ -248,43 +248,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
virtual bufsize_t ResourceEntryWrapper::getSize virtual bufsize_t ResourceEntryWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -695,7 +695,7 @@ Here is the call graph for this function:

- + diff --git a/class_resource_strings_wrapper.html b/class_resource_strings_wrapper.html index 1623919a..482d3060 100644 --- a/class_resource_strings_wrapper.html +++ b/class_resource_strings_wrapper.html @@ -137,7 +137,7 @@ Public Member Functions - + @@ -154,7 +154,7 @@ Public Member Functions - + @@ -162,7 +162,7 @@ Public Member Functions - + @@ -189,7 +189,7 @@ Public Member Functions - + @@ -201,7 +201,7 @@ Public Member Functions - + @@ -210,7 +210,7 @@ Public Member Functions - + @@ -257,43 +257,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
virtual bufsize_t ResourceLeafWrapper::getSize virtual bufsize_t ResourceLeafWrapper::getSize ( )
 
virtual void * getFieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual size_t getFieldsCount ()
 
 
void * getResContentPtr ()
 
bufsize_t getResContentSize ()
bufsize_t getResContentSize ()
 
offset_t getContentRaw ()
 
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + @@ -602,7 +602,7 @@ Here is the call graph for this function:

@@ -305,7 +305,7 @@ Protected Member Functions

- Protected Member Functions inherited from ResourceContentWrapper
 ResourceContentWrapper (Executable *pe, ResourceLeafWrapper *v_leaf, pe::resource_type v_typeId)
 
BYTE * getContentAt (offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize)
BYTE * getContentAt (offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize)
 
- Protected Member Functions inherited from ExeNodeWrapper
size_t getEntriesCount (std::vector< ExeNodeWrapper * > &_entries)
- + diff --git a/class_resource_version_wrapper.html b/class_resource_version_wrapper.html index 274f6ce5..ef790638 100644 --- a/class_resource_version_wrapper.html +++ b/class_resource_version_wrapper.html @@ -157,7 +157,7 @@ Public Member Functions - + @@ -180,7 +180,7 @@ Public Member Functions - + @@ -209,7 +209,7 @@ Public Member Functions - + @@ -221,7 +221,7 @@ Public Member Functions - + @@ -230,7 +230,7 @@ Public Member Functions - + @@ -240,7 +240,7 @@ Public Member Functions - + @@ -279,43 +279,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t ResourceStringsWrapper::getFieldSize bufsize_t ResourceStringsWrapper::getFieldSize ( size_t fieldId,
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
void * getResContentPtr ()
 
bufsize_t getResContentSize ()
bufsize_t getResContentSize ()
 
offset_t getContentRaw ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + @@ -691,7 +691,7 @@ Here is the call graph for this function:

@@ -334,7 +334,7 @@ Additional Inherited Members

- Protected Member Functions inherited from ResourceContentWrapper
 ResourceContentWrapper (Executable *pe, ResourceLeafWrapper *v_leaf, pe::resource_type v_typeId)
 
BYTE * getContentAt (offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize)
BYTE * getContentAt (offset_t dataAddr, Executable::addr_type aT, bufsize_t dataSize)
 
- Protected Member Functions inherited from ExeNodeWrapper
size_t getEntriesCount (std::vector< ExeNodeWrapper * > &_entries)
- + diff --git a/class_rich_hdr_wrapper.html b/class_rich_hdr_wrapper.html index 395164fa..048ddecb 100644 --- a/class_rich_hdr_wrapper.html +++ b/class_rich_hdr_wrapper.html @@ -176,7 +176,7 @@ Public Member Functions - + @@ -184,7 +184,7 @@ Public Member Functions - + @@ -208,7 +208,7 @@ Public Member Functions - + @@ -257,43 +257,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
virtual bufsize_t ResourceVersionWrapper::getSize virtual bufsize_t ResourceVersionWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getFieldPtr (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual QString translateFieldContent (size_t fieldId)
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -672,7 +672,7 @@ Here is the call graph for this function:

- + @@ -775,7 +775,7 @@ Here is the call graph for this function:
bufsize_t RichHdrWrapper::getFieldSize bufsize_t RichHdrWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_sect_hdrs_wrapper.html b/class_sect_hdrs_wrapper.html index 53d2a423..54d439f2 100644 --- a/class_sect_hdrs_wrapper.html +++ b/class_sect_hdrs_wrapper.html @@ -157,7 +157,7 @@ Public Member Functions - + @@ -165,7 +165,7 @@ Public Member Functions - + @@ -211,7 +211,7 @@ Public Member Functions - + @@ -219,7 +219,7 @@ Public Member Functions - + @@ -228,7 +228,7 @@ Public Member Functions - + @@ -277,43 +277,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t RichHdrWrapper::getSize bufsize_t RichHdrWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getFieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField)
 
virtual QString getFieldName (size_t fieldId)
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -760,7 +760,7 @@ Here is the call graph for this function:

- + @@ -1009,7 +1009,7 @@ Here is the call graph for this function:
virtual bufsize_t SectHdrsWrapper::getFieldSize virtual bufsize_t SectHdrsWrapper::getFieldSize ( size_t fieldId,
- + diff --git a/class_section_hdr_wrapper.html b/class_section_hdr_wrapper.html index 7b3f3ce4..064122cf 100644 --- a/class_section_hdr_wrapper.html +++ b/class_section_hdr_wrapper.html @@ -183,7 +183,7 @@ Public Member Functions - + @@ -203,7 +203,7 @@ Public Member Functions - + @@ -245,7 +245,7 @@ Public Member Functions - + @@ -257,7 +257,7 @@ Public Member Functions - + @@ -266,7 +266,7 @@ Public Member Functions - + @@ -276,7 +276,7 @@ Public Member Functions - + @@ -313,43 +313,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t SectHdrsWrapper::getSize bufsize_t SectHdrsWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
offset_t getContentEndOffset (Executable::addr_type aType, bool roundup)
 
bufsize_t getContentSize (Executable::addr_type aType, bool recalculate)
bufsize_t getContentSize (Executable::addr_type aType, bool recalculate)
 
DWORD getCharacteristics ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + - + - + @@ -765,7 +765,7 @@ Here is the call graph for this function:

@@ -382,11 +382,11 @@ Protected Member Functions

 
offset_t getContentDeclaredOffset (Executable::addr_type aType)
 
bufsize_t getContentDeclaredSize (Executable::addr_type aType)
bufsize_t getContentDeclaredSize (Executable::addr_type aType)
 
bufsize_t getMappedRawSize ()
bufsize_t getMappedRawSize ()
 
bufsize_t getMappedVirtualSize ()
bufsize_t getMappedVirtualSize ()
 
- Protected Member Functions inherited from ExeNodeWrapper
size_t getEntriesCount (std::vector< ExeNodeWrapper * > &_entries)
- + @@ -871,7 +871,7 @@ Here is the call graph for this function:
bufsize_t SectionHdrWrapper::getContentDeclaredSize bufsize_t SectionHdrWrapper::getContentDeclaredSize ( Executable::addr_type aType)
- + @@ -1062,7 +1062,7 @@ Here is the call graph for this function:
bufsize_t SectionHdrWrapper::getContentSize bufsize_t SectionHdrWrapper::getContentSize ( Executable::addr_type aType,
- + @@ -1110,7 +1110,7 @@ Here is the call graph for this function:
bufsize_t SectionHdrWrapper::getMappedRawSize bufsize_t SectionHdrWrapper::getMappedRawSize ( ) - + @@ -1309,7 +1309,7 @@ Here is the call graph for this function:
bufsize_t SectionHdrWrapper::getMappedVirtualSize bufsize_t SectionHdrWrapper::getMappedVirtualSize ( ) - + diff --git a/class_security_dir_wrapper.html b/class_security_dir_wrapper.html index 63c6077c..295eb0fa 100644 --- a/class_security_dir_wrapper.html +++ b/class_security_dir_wrapper.html @@ -171,7 +171,7 @@ Public Member Functions - + @@ -194,7 +194,7 @@ Public Member Functions - + @@ -228,7 +228,7 @@ Public Member Functions - + @@ -240,7 +240,7 @@ Public Member Functions - + @@ -249,7 +249,7 @@ Public Member Functions - + @@ -259,7 +259,7 @@ Public Member Functions - + @@ -296,43 +296,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t SectionHdrWrapper::getSize bufsize_t SectionHdrWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -722,7 +722,7 @@ Here is the call graph for this function:

- + diff --git a/class_tls_dir_wrapper.html b/class_tls_dir_wrapper.html index c95540b8..9a940b84 100644 --- a/class_tls_dir_wrapper.html +++ b/class_tls_dir_wrapper.html @@ -171,7 +171,7 @@ Public Member Functions - + @@ -190,7 +190,7 @@ Public Member Functions - + @@ -224,7 +224,7 @@ Public Member Functions - + @@ -236,7 +236,7 @@ Public Member Functions - + @@ -245,7 +245,7 @@ Public Member Functions - + @@ -255,7 +255,7 @@ Public Member Functions - + @@ -294,43 +294,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t SecurityDirWrapper::getSize bufsize_t SecurityDirWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
offset_t getDirEntryAddress ()
 
bufsize_t getDirEntrySize (bool trimToExeSize=false)
bufsize_t getDirEntrySize (bool trimToExeSize=false)
 
int getDirEntryType ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 

@@ -711,7 +711,7 @@ Here is the call graph for this function:

- + diff --git a/class_tls_entry_wrapper.html b/class_tls_entry_wrapper.html index b19d7ad8..dd0b3ddd 100644 --- a/class_tls_entry_wrapper.html +++ b/class_tls_entry_wrapper.html @@ -128,7 +128,7 @@ Public Member Functions - + @@ -165,7 +165,7 @@ Public Member Functions - + @@ -177,7 +177,7 @@ Public Member Functions - + @@ -186,7 +186,7 @@ Public Member Functions - + @@ -196,7 +196,7 @@ Public Member Functions - + @@ -235,43 +235,43 @@ Public Member Functions - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
bufsize_t TlsDirWrapper::getSize bufsize_t TlsDirWrapper::getSize ( )
 
virtual void * getPtr ()
 
virtual bufsize_t getSize ()
virtual bufsize_t getSize ()
 
virtual QString getName ()
 
 
virtual void * getSubfieldPtr (size_t fieldId, size_t subField)
 
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
virtual bufsize_t getSubfieldSize (size_t fieldId, size_t subField)
 
virtual QString getSubfieldName (size_t fieldId, size_t subField)
 
 
virtual offset_t getNextEntryOffset ()
 
virtual bufsize_t geEntrySize ()
virtual bufsize_t geEntrySize ()
 
virtual bool isValid ()
 
 
virtual ~ExeElementWrapper ()
 
virtual bufsize_t getContentSize ()
virtual bufsize_t getContentSize ()
 
virtual BYTE * getContent ()
 
 
void * getFieldPtr (size_t fieldId)
 
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
virtual bufsize_t getFieldSize (size_t fieldId, size_t subField=FIELD_NONE)
 
virtual offset_t getFieldOffset (size_t fieldId, size_t subField=FIELD_NONE)
 
 
BYTE operator[] (size_t idx)
 
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAt (offset_t offset, bufsize_t size, bool allowExceptions=false)
 
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
virtual BYTE * getContentAtPtr (BYTE *ptr, bufsize_t size, bool allowExceptions=false)
 
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
virtual bool setBufferedValue (BYTE *dstPtr, BYTE *srcPtr, bufsize_t srcSize, bufsize_t paddingSize, bool allowExceptions=false)
 
bool setStringValue (offset_t rawOffset, QString newText)
 
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
QString getStringValue (offset_t rawOffset, bufsize_t len=BUFSIZE_MAX, bool acceptNonTerminated=false)
 
QString getWStringValue (offset_t rawOffset, bufsize_t len)
QString getWStringValue (offset_t rawOffset, bufsize_t len)
 
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
QString getWAsciiStringValue (offset_t rawOffset, bufsize_t len, bool acceptNonTerminated=false)
 
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
bufsize_t getMaxSizeFromOffset (offset_t startOffset)
 
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
bufsize_t getMaxSizeFromPtr (BYTE *ptr)
 
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
bool isAreaEmpty (offset_t rawOffset, bufsize_t size)
 
bool fillContent (BYTE filling)
 
bool pasteBuffer (offset_t rawOffset, AbstractByteBuffer *buf, bool allowTrunc)
 
bool containsBlock (offset_t rawOffset, bufsize_t size)
bool containsBlock (offset_t rawOffset, bufsize_t size)
 
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
bool intersectsBlock (offset_t rawOffset, bufsize_t size)
 
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
uint64_t getNumValue (offset_t offset, bufsize_t size, bool *isOk)
 
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
bool setNumValue (offset_t offset, bufsize_t size, uint64_t newVal)
 
bool setTextValue (char *textPtr, std::string newText, size_t fieldLimitLen=0)
 
virtual bool resize (bufsize_t newSize)
virtual bool resize (bufsize_t newSize)
 
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
offset_t substFragmentByFile (offset_t offset, bufsize_t contentSize, QFile &fIn)
 
- + @@ -440,7 +440,7 @@ Here is the call graph for this function: diff --git a/doxygen_crawl.html b/doxygen_crawl.html index 028d6c1b..61416ede 100644 --- a/doxygen_crawl.html +++ b/doxygen_crawl.html @@ -17,11 +17,11 @@ - + diff --git a/globals.html b/globals.html index a99909de..c4386023 100644 --- a/globals.html +++ b/globals.html @@ -103,7 +103,7 @@ $(function(){ initResizable(false); });

- b -

diff --git a/globals_type.html b/globals_type.html index 529ae76e..4e0c8c68 100644 --- a/globals_type.html +++ b/globals_type.html @@ -87,7 +87,7 @@ $(function(){ initResizable(false); });
Here is a list of all typedefs with links to the files they belong to:
diff --git a/namespacebuf__util.html b/namespacebuf__util.html index 078d8232..eb296ffd 100644 --- a/namespacebuf__util.html +++ b/namespacebuf__util.html @@ -93,7 +93,7 @@ $(function(){ initResizable(false); });

@@ -607,7 +607,7 @@ Here is the call graph for this function:

- + diff --git a/class_wrapped_value.html b/class_wrapped_value.html index 97709840..30e19c4d 100644 --- a/class_wrapped_value.html +++ b/class_wrapped_value.html @@ -125,7 +125,7 @@ Public Types Public Member Functions - + @@ -149,7 +149,7 @@ Protected Attributes - +
bufsize_t TlsEntryWrapper::getSize bufsize_t TlsEntryWrapper::getSize ( )
 WrappedValue ()
 
 WrappedValue (AbstractByteBuffer *owner, offset_t offset, bufsize_t size, data_type type)
 WrappedValue (AbstractByteBuffer *owner, offset_t offset, bufsize_t size, data_type type)
 
data_type getDataType ()
 
 
offset_t m_Offset
 
bufsize_t m_Size
bufsize_t m_Size
 

Detailed Description

@@ -230,7 +230,7 @@ Protected Attributes
bufsize_t size, bufsize_t size,
- +
bufsize_t WrappedValue::m_Sizebufsize_t WrappedValue::m_Size
- +

Functions

bufsize_t roundupToUnit (bufsize_t size, bufsize_t unit)
bufsize_t roundupToUnit (bufsize_t size, bufsize_t unit)
 

Function Documentation

@@ -104,14 +104,14 @@ Functions
- + - + - +
bufsize_t buf_util::roundupToUnit bufsize_t buf_util::roundupToUnit (bufsize_t size, bufsize_t size,
bufsize_t unit )bufsize_t unit )
diff --git a/search/all_2.js b/search/all_2.js index cacd4bee..2d9667d0 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -21,7 +21,7 @@ var searchData= ['bufferexception_18',['BufferException',['../class_buffer_exception.html',1,'BufferException'],['../class_buffer_exception.html#a4af32a7ca757175a41906ec6e889b126',1,'BufferException::BufferException()']]], ['bufferview_19',['BufferView',['../class_buffer_view.html',1,'BufferView'],['../class_buffer_view.html#a7e28aa60f3734aecc9595741f5bba11c',1,'BufferView::BufferView()']]], ['bufsize_5fmax_20',['BUFSIZE_MAX',['../_abstract_byte_buffer_8h.html#a06eeddcfd3f26853ac1210c897f8a003',1,'AbstractByteBuffer.h']]], - ['bufsize_5ft_21',['bufsize_t',['../_abstract_byte_buffer_8h.html#a9067dc831274514d508e98df05bf015d',1,'AbstractByteBuffer.h']]], + ['bufsize_5ft_21',['bufsize_t',['../_abstract_byte_buffer_8h.html#afedfa40fa58dd4bc7148024a7ad12c76',1,'AbstractByteBuffer.h']]], ['build_22',['build',['../class_exe_builder.html#a7eed0fb932d27efb3bef6b7f461df3a7',1,'ExeBuilder::build()'],['../class_exe_factory.html#a3998dc482c24498b474b801b2b9f4ddf',1,'ExeFactory::build()'],['../class_d_o_s_exe_builder.html#a5f40fd34d7e0eb259c258e14cc6f16f0',1,'DOSExeBuilder::build()'],['../class_p_e_file_builder.html#a85aed87fd79505c5a9bf111d51bfd503',1,'PEFileBuilder::build()']]], ['builders_23',['builders',['../class_exe_factory.html#a32bf534192e902b75a294cfc5b602ee6',1,'ExeFactory']]], ['bytebuffer_24',['ByteBuffer',['../class_byte_buffer.html',1,'ByteBuffer'],['../class_byte_buffer.html#adc1d4da00319096a5eb0043f4a37e2be',1,'ByteBuffer::ByteBuffer()'],['../class_byte_buffer.html#a7aa532de539fe0d1218349bb9dd043df',1,'ByteBuffer::ByteBuffer(bufsize_t v_size, bufsize_t padding=DEFAULT_PADDING)'],['../class_byte_buffer.html#aec65ed51a3f5a493df804a85f35af51c',1,'ByteBuffer::ByteBuffer(BYTE *v_content, bufsize_t v_size, bufsize_t padding=DEFAULT_PADDING)'],['../class_byte_buffer.html#a9e0b0a64bb772e273d82f3069e2fb7fb',1,'ByteBuffer::ByteBuffer(AbstractByteBuffer *sourceBuf, offset_t offset, bufsize_t size, bufsize_t padding=DEFAULT_PADDING)']]], diff --git a/search/typedefs_1.js b/search/typedefs_1.js index 6a1d14aa..f4d23a47 100644 --- a/search/typedefs_1.js +++ b/search/typedefs_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['bufsize_5ft_0',['bufsize_t',['../_abstract_byte_buffer_8h.html#a9067dc831274514d508e98df05bf015d',1,'AbstractByteBuffer.h']]] + ['bufsize_5ft_0',['bufsize_t',['../_abstract_byte_buffer_8h.html#afedfa40fa58dd4bc7148024a7ad12c76',1,'AbstractByteBuffer.h']]] ];