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

Side by Side Diff: sandbox/linux/seccomp/x86_decode.cc

Issue 672011: Added missing copyright header. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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
« no previous file with comments | « sandbox/linux/seccomp/x86_decode.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
1 #include "x86_decode.h" 5 #include "x86_decode.h"
2 6
3 namespace playground { 7 namespace playground {
4 8
5 #if defined(__x86_64__) || defined(__i386__) 9 #if defined(__x86_64__) || defined(__i386__)
6 unsigned short next_inst(const char **ip, bool is64bit, bool *has_prefix, 10 unsigned short next_inst(const char **ip, bool is64bit, bool *has_prefix,
7 char **rex_ptr, char **mod_rm_ptr, char **sib_ptr, 11 char **rex_ptr, char **mod_rm_ptr, char **sib_ptr,
8 bool *is_group) { 12 bool *is_group) {
9 enum { 13 enum {
10 BYTE_OP = (1<<1), // 0x02 14 BYTE_OP = (1<<1), // 0x02
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 } 301 }
298 if (is_group) { 302 if (is_group) {
299 *is_group = found_group; 303 *is_group = found_group;
300 } 304 }
301 *ip = reinterpret_cast<const char *>(insn_ptr); 305 *ip = reinterpret_cast<const char *>(insn_ptr);
302 return insn; 306 return insn;
303 } 307 }
304 #endif 308 #endif
305 309
306 } // namespace 310 } // namespace
OLDNEW
« no previous file with comments | « sandbox/linux/seccomp/x86_decode.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698