OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:EncodedProgram
(Results
1 - 12
of
12
) sorted by null
/external/chromium_org/courgette/
courgette.h
70
class
EncodedProgram
;
119
Status Encode(AssemblyProgram* program,
EncodedProgram
** output);
123
Status WriteEncodedProgram(
EncodedProgram
* encoded, SinkStreamSet* sink);
128
Status Assemble(
EncodedProgram
* encoded, SinkStream* buffer);
133
Status ReadEncodedProgram(SourceStreamSet* source,
EncodedProgram
** output);
138
// Used to free an
EncodedProgram
returned by other APIs.
139
void DeleteEncodedProgram(
EncodedProgram
* encoded);
encoded_program_unittest.cc
15
courgette::
EncodedProgram
* program = new courgette::
EncodedProgram
();
45
courgette::
EncodedProgram
*encoded2 = new courgette::
EncodedProgram
();
encoded_program.h
21
// An
EncodedProgram
is a set of tables that contain a simple 'binary assembly
25
class
EncodedProgram
{
27
EncodedProgram
();
28
~
EncodedProgram
();
30
// Generating an
EncodedProgram
:
41
// NOTE: If any of these methods ever fail, the
EncodedProgram
instance
55
// Using an
EncodedProgram
to generate a byte stream:
57
// (4) Deserializes a fresh
EncodedProgram
from a set of streams.
121
DISALLOW_COPY_AND_ASSIGN(
EncodedProgram
);
encoded_program.cc
40
EncodedProgram
::
EncodedProgram
() : image_base_(0) {}
41
EncodedProgram
::~
EncodedProgram
() {}
149
CheckBool
EncodedProgram
::DefineRel32Label(int index, RVA value) {
153
CheckBool
EncodedProgram
::DefineAbs32Label(int index, RVA value) {
159
CheckBool
EncodedProgram
::DefineLabelCommon(RvaVector* rvas,
175
void
EncodedProgram
::EndLabels() {
180
void
EncodedProgram
::FinishLabelsCommon(RvaVector* rvas) {
195
CheckBool
EncodedProgram
::AddOrigin(RVA origin)
[
all
...]
patcher_x86_32.h
65
EncodedProgram
* encoded = NULL;
80
EncodedProgram
* encoded_program = NULL;
assembly_program.h
20
class
EncodedProgram
;
52
//
EncodedProgram
and serialized to an output stream.
53
// * Later, the
EncodedProgram
can be deserialized and assembled into
57
// is to assign indexes in such a way as to make the
EncodedProgram
for this
58
// AssemblyProgram look more like the
EncodedProgram
for some other
114
EncodedProgram
* Encode() const;
encode_decode_unittest.cc
28
courgette::
EncodedProgram
* encoded = NULL;
54
courgette::
EncodedProgram
*encoded2 = NULL;
patch_generator_x86_32.h
50
// The format of a transformed_element is a serialized
EncodedProgram
. We
98
EncodedProgram
* old_encoded = NULL;
120
EncodedProgram
* new_encoded = NULL;
assembly_program.cc
371
typedef CheckBool (
EncodedProgram
::*DefineLabelMethod)(int index, RVA value);
377
EncodedProgram
* encoded_format,
389
EncodedProgram
* AssemblyProgram::Encode() const {
390
scoped_ptr<
EncodedProgram
> encoded(new(std::nothrow)
EncodedProgram
());
397
&
EncodedProgram
::DefineAbs32Label) ||
399
&
EncodedProgram
::DefineRel32Label)) {
572
Status Encode(AssemblyProgram* program,
EncodedProgram
** output) {
574
EncodedProgram
*encoded = program->Encode();
adjustment_method_unittest.cc
61
courgette::
EncodedProgram
* encoded = NULL;
encoded_program_fuzz_unittest.cc
5
// Fuzz testing for
EncodedProgram
serialized format and assembly.
7
// We would like some assurance that if an
EncodedProgram
is malformed we will
8
// not crash. The
EncodedProgram
could be malformed either due to malicious
47
courgette::
EncodedProgram
* encoded = NULL;
71
// Now we have a good serialized
EncodedProgram
in |base_buffer|. Time to
86
// FuzzByte tries to break the
EncodedProgram
deserializer and assembler. It
87
// takes a good serialization of and
EncodedProgram
, flips some bits, and checks
113
// FuzzBits tries to break the
EncodedProgram
deserializer and assembler. It
114
// takes a good serialization of and
EncodedProgram
, flips some bits, and checks
171
courgette::
EncodedProgram
*encoded = NULL
[
all
...]
courgette_tool.cc
85
courgette::
EncodedProgram
* encoded = NULL;
180
courgette::
EncodedProgram
* encoded = NULL;
205
// stream of the
EncodedProgram
format. Each file is the bsdiff between the
238
courgette::
EncodedProgram
* encoded_program = NULL;
245
courgette::
EncodedProgram
* encoded_model = NULL;
296
courgette::
EncodedProgram
* encoded = NULL;
Completed in 55 milliseconds