Skip to content

Commit

Permalink
Merge pull request #15 from aras-p/cleanup-warnings
Browse files Browse the repository at this point in the history
Cleanup includes
  • Loading branch information
aras-p authored Aug 5, 2023
2 parents e0154f3 + 8549eb1 commit 1654fc9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 26 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ add_executable (Sizer
src/pdbfile.hpp
src/pe_utils.cpp
src/pe_utils.hpp
src/types.hpp

src/raw_pdb
src/raw_pdb/Foundation
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### 0.5.1, 2023 Aug 5

- Sizer now builds on Windows, Mac and Linux. Note that it still only analyzes the *Windows* executables/PDBs, but can do that while running on Mac/Linux.
- The build system was changed to CMake.
- Github Actions was added, which also builds the Sizer executable across all of Windows/Mac/Linux platforms.

### 0.5.0, 2023 Aug 4

Large speedup and removed dependency on `msdia*.dll`, by switching to [MolecularMatters/raw_pdb](https://github.com/MolecularMatters/raw_pdb)
Expand Down
4 changes: 1 addition & 3 deletions src/debuginfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
// Based on code by Fabian "ryg" Giesen, http://farbrausch.com/~fg/
// Public domain.

#include "types.hpp"
#include "debuginfo.hpp"
#include <stdarg.h>
#include <algorithm>
#include <map>

/****************************************************************************/
#include <string.h>

uint32_t DebugInfo::CountSizeInClass(int32_t type) const
{
Expand Down
11 changes: 4 additions & 7 deletions src/debuginfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@
#ifndef __DEBUGINFO_HPP__
#define __DEBUGINFO_HPP__

#include "types.hpp"
#include <map>

using std::string;

/****************************************************************************/
#include <string>
#include <vector>

#define DIC_END 0
#define DIC_CODE 1
Expand Down Expand Up @@ -68,8 +65,8 @@ struct DebugFilters

class DebugInfo
{
typedef std::vector<string> StringByIndexVector;
typedef std::map<string, int32_t> IndexByStringMap;
typedef std::vector<std::string> StringByIndexVector;
typedef std::map<std::string, int32_t> IndexByStringMap;
typedef std::map<int32_t, int32_t> NameIndexToArrayIndexMap;

StringByIndexVector m_StringByIndex;
Expand Down
1 change: 0 additions & 1 deletion src/pdbfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Based on code by Fabian "ryg" Giesen, http://farbrausch.com/~fg/
// Public domain.

#include "types.hpp"
#include "debuginfo.hpp"
#include "pdbfile.hpp"

Expand Down
14 changes: 0 additions & 14 deletions src/types.hpp

This file was deleted.

0 comments on commit 1654fc9

Please sign in to comment.