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

Side by Side Diff: src/untrusted/minidump_generator/build_id.h

Issue 14757008: Minidumper: Get the nexe's build ID from PT_NOTE when available (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Check note name too Created 7 years, 7 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2013 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 #ifndef NATIVE_CLIENT_SRC_UNTRUSTED_MINIDUMP_GENERATOR_BUILD_ID_H_
8 #define NATIVE_CLIENT_SRC_UNTRUSTED_MINIDUMP_GENERATOR_BUILD_ID_H_ 1
9
10 /*
11 * Get the build ID for the nexe. This is a byte string that uniquely
12 * identifies the executable, typically a hash of its contents.
13 *
14 * On success, this returns 1 and fills out *data and *size. If the
15 * build ID cannot be found, this returns 0.
16 */
17 int nacl_get_build_id(const char **data, size_t *size);
18
19 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698