| 46 | } |
| 47 | |
| 48 | DWORD PeRebuild::validAlignment(DWORD BadSize) |
| 49 | { |
| 50 | div_t DivRes; |
| 51 | |
| 52 | DivRes = div(BadSize, FileAlignmentConstant); |
| 53 | if (DivRes.rem == 0) |
| 54 | return BadSize; |
| 55 | return ((DivRes.quot+1) * FileAlignmentConstant); |
| 56 | } |
| 57 | |
| 58 | DWORD PeRebuild::validAlignmentNew(DWORD badAddress) |
| 59 | { |
nothing calls this directly
no outgoing calls
no test coverage detected