Lines Matching refs:binary
67 const std::string binary = "basic/empty.so";
69 const fe_iface::status status = read_corpus(binary, corpus_ptr);
77 const std::string binary = "basic/no_debug_info.so";
79 const fe_iface::status status = read_corpus(binary, corpus_ptr);
148 GIVEN("a binary with no exported symbols")
155 GIVEN("a binary with a single exported function")
157 const std::string binary = "basic/single_function.so";
158 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 0);
167 GIVEN("a binary with a single exported variable")
169 const std::string binary = "basic/single_variable.so";
170 const corpus_sptr& corpus = assert_symbol_count(binary, 0, 1);
179 GIVEN("a binary with one function and one variable exported")
181 const std::string binary = "basic/one_function_one_variable.so";
182 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 1);
189 GIVEN("a binary with a single undefined function")
191 const std::string binary = "basic/single_undefined_function.so";
192 const corpus_sptr corpus = assert_symbol_count(binary, 0, 0, 1, 0);
195 GIVEN("a binary with a single undefined variable")
197 const std::string binary = "basic/single_undefined_variable.so";
198 const corpus_sptr corpus = assert_symbol_count(binary, 0, 0, 0, 1);
201 GIVEN("a binary with one function and one variable undefined")
203 const std::string binary = "basic/one_function_one_variable_undefined.so";
204 const corpus_sptr corpus = assert_symbol_count(binary, 0, 0, 1, 1);
210 GIVEN("a binary with one function and one variable exported")
212 const std::string binary = "basic/one_function_one_variable.so";
214 GIVEN("we read the binary without any whitelists")
216 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 1);
223 GIVEN("we read the binary with all symbols on the whitelists")
229 assert_symbol_count(binary, 1, 1, 0, 0, whitelists);
236 GIVEN("we read the binary with only irrelevant symbols whitelisted")
245 read_corpus(binary, corpus_ptr, whitelists);
250 GIVEN("we read the binary with only the function whitelisted")
256 assert_symbol_count(binary, 1, 0, 0, 0, whitelists);
263 GIVEN("we read the binary with only the variable whitelisted")
269 assert_symbol_count(binary, 0, 1, 0, 0, whitelists);
280 const std::string binary = "basic/aliases.so";
281 const corpus_sptr& corpus = assert_symbol_count(binary, 5, 5);
304 const std::string binary = "basic/aliases.so";
305 const corpus_sptr& corpus = assert_symbol_count(binary, 5, 5);
349 const std::string binary = base_path + "single_function.ko";
350 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 0);
361 const std::string binary = base_path + "single_function_gpl.ko";
362 const corpus_sptr& corpus = assert_symbol_count(binary, 1, 0);
371 GIVEN("a binary with a single exported variable")
373 const std::string binary = base_path + "single_variable.ko";
374 const corpus_sptr& corpus = assert_symbol_count(binary, 0, 1);
383 GIVEN("a binary with a single GPL exported variable")
385 const std::string binary = base_path + "single_variable_gpl.ko";
386 const corpus_sptr& corpus = assert_symbol_count(binary, 0, 1);
395 GIVEN("a binary with one function and one variable (GPL) exported")
397 const std::string binary = base_path + "one_of_each.ko";
398 const corpus_sptr& corpus = assert_symbol_count(binary, 2, 2);
416 GIVEN("a binary with one function and one variable (GPL) exported")
418 const std::string binary = base_path + "one_of_each.ko";
419 const corpus_sptr& corpus = assert_symbol_count(binary, 2, 2);