• Home
  • Raw
  • Download

Lines Matching full:binary

70   const std::string	     binary = "basic/empty.so";  variable
72 const elf_reader::status status = read_corpus(binary, corpus_ptr);
80 const std::string binary = "basic/no_debug_info.so"; variable
82 const elf_reader::status status = read_corpus(binary, corpus_ptr);
151 GIVEN("a binary with no exported symbols")
158 GIVEN("a binary with a single exported function")
160 const std::string binary = "basic/single_function.so"; variable
161 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 0);
170 GIVEN("a binary with a single exported variable")
172 const std::string binary = "basic/single_variable.so"; variable
173 const corpus_sptr& corpus = assert_symbol_count(binary, 0, 1);
182 GIVEN("a binary with one function and one variable exported")
184 const std::string binary = "basic/one_function_one_variable.so"; variable
185 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 1);
192 GIVEN("a binary with a single undefined function")
194 const std::string binary = "basic/single_undefined_function.so"; variable
195 const corpus_sptr corpus = assert_symbol_count(binary, 0, 0, 1, 0);
198 GIVEN("a binary with a single undefined variable")
200 const std::string binary = "basic/single_undefined_variable.so"; variable
201 const corpus_sptr corpus = assert_symbol_count(binary, 0, 0, 0, 1);
204 GIVEN("a binary with one function and one variable undefined")
206 const std::string binary = "basic/one_function_one_variable_undefined.so"; variable
207 const corpus_sptr corpus = assert_symbol_count(binary, 0, 0, 1, 1);
213 GIVEN("a binary with one function and one variable exported")
215 const std::string binary = "basic/one_function_one_variable.so"; variable
217 GIVEN("we read the binary without any whitelists")
219 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 1);
226 GIVEN("we read the binary with all symbols on the whitelists")
232 assert_symbol_count(binary, 1, 1, 0, 0, whitelists);
239 GIVEN("we read the binary with only irrelevant symbols whitelisted")
248 read_corpus(binary, corpus_ptr, whitelists);
253 GIVEN("we read the binary with only the function whitelisted")
259 assert_symbol_count(binary, 1, 0, 0, 0, whitelists);
266 GIVEN("we read the binary with only the variable whitelisted")
272 assert_symbol_count(binary, 0, 1, 0, 0, whitelists);
283 const std::string binary = "basic/aliases.so"; variable
284 const corpus_sptr& corpus = assert_symbol_count(binary, 5, 5);
307 const std::string binary = "basic/aliases.so"; variable
308 const corpus_sptr& corpus = assert_symbol_count(binary, 5, 5);
352 const std::string binary = base_path + "single_function.ko"; variable
353 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 0);
364 const std::string binary = base_path + "single_function_gpl.ko"; variable
365 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 0);
374 GIVEN("a binary with a single exported variable")
376 const std::string binary = base_path + "single_variable.ko"; variable
377 const corpus_sptr& corpus = assert_symbol_count(binary, 0, 1);
386 GIVEN("a binary with a single GPL exported variable")
388 const std::string binary = base_path + "single_variable_gpl.ko"; variable
389 const corpus_sptr& corpus = assert_symbol_count(binary, 0, 1);
398 GIVEN("a binary with one function and one variable (GPL) exported")
400 const std::string binary = base_path + "one_of_each.ko"; variable
401 const corpus_sptr& corpus = assert_symbol_count(binary, 2, 2);
419 GIVEN("a binary with one function and one variable (GPL) exported")
421 const std::string binary = base_path + "one_of_each.ko"; variable
422 const corpus_sptr& corpus = assert_symbol_count(binary, 2, 2);