Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: courgette/rel32_finder_win32_x86.h

Issue 1543643002: Switch to standard integer types in courgette/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « courgette/region.h ('k') | courgette/rel32_finder_win32_x86.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/rel32_finder_win32_x86.h
diff --git a/courgette/rel32_finder_win32_x86.h b/courgette/rel32_finder_win32_x86.h
index 84dfe0bea59638bc819f97de16628848301548ad..24523d3652cb622e1eaff6ffb01fc916005113e0 100644
--- a/courgette/rel32_finder_win32_x86.h
+++ b/courgette/rel32_finder_win32_x86.h
@@ -5,12 +5,13 @@
#ifndef COURGETTE_REL32_FINDER_WIN32_X86_H_
#define COURGETTE_REL32_FINDER_WIN32_X86_H_
+#include <stdint.h>
+
#if COURGETTE_HISTOGRAM_TARGETS
#include <map>
#endif
#include <vector>
-#include "base/basictypes.h"
#include "courgette/image_utils.h"
namespace courgette {
@@ -38,8 +39,8 @@ class Rel32FinderWin32X86 {
// - Do not collide with |base_relocation_table|'s RVA range,
// - Whose targets are in [|start_rva|, |end_rva|).
// The sorted results are written to |rel32_locations_|.
- virtual void Find(const uint8* start_pointer,
- const uint8* end_pointer,
+ virtual void Find(const uint8_t* start_pointer,
+ const uint8_t* end_pointer,
RVA start_rva,
RVA end_rva,
const std::vector<RVA>& abs32_locations) = 0;
@@ -65,8 +66,8 @@ class Rel32FinderWin32X86_Basic : public Rel32FinderWin32X86 {
virtual ~Rel32FinderWin32X86_Basic();
// Rel32FinderWin32X86 implementation.
- void Find(const uint8* start_pointer,
- const uint8* end_pointer,
+ void Find(const uint8_t* start_pointer,
+ const uint8_t* end_pointer,
RVA start_rva,
RVA end_rva,
const std::vector<RVA>& abs32_locations) override;
« no previous file with comments | « courgette/region.h ('k') | courgette/rel32_finder_win32_x86.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698