Lines Matching refs:Instruction

200 	bytes expectation({uint8_t(Instruction::PUSH1), 0x1});  in BOOST_AUTO_TEST_CASE()
213 bytes expectation({uint8_t(Instruction::PUSH1), 0x0}); in BOOST_AUTO_TEST_CASE()
226 bytes expectation({uint8_t(Instruction::PUSH10), 0x12, 0x34, 0x56, 0x78, 0x90, in BOOST_AUTO_TEST_CASE()
242 bytes expectation({uint8_t(Instruction::PUSH1), 0x1}); in BOOST_AUTO_TEST_CASE()
257 bytes expectation({uint8_t(Instruction::PUSH4), 0x3b, 0x9a, 0xca, 0x00}); in BOOST_AUTO_TEST_CASE()
272 bytes expectation({uint8_t(Instruction::PUSH8), 0xd, 0xe0, 0xb6, 0xb3, 0xa7, 0x64, 0x00, 0x00}); in BOOST_AUTO_TEST_CASE()
288 uint8_t(Instruction::PUSH2), 0x11, 0xaa, in BOOST_AUTO_TEST_CASE()
289 uint8_t(Instruction::PUSH2), 0x10, 0xaa, in BOOST_AUTO_TEST_CASE()
290 uint8_t(Instruction::LT), uint8_t(Instruction::ISZERO), uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
291 uint8_t(Instruction::PUSH1), 0x1, in BOOST_AUTO_TEST_CASE()
292 uint8_t(Instruction::ISZERO), uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
293 uint8_t(Instruction::EQ), in BOOST_AUTO_TEST_CASE()
294 uint8_t(Instruction::ISZERO) in BOOST_AUTO_TEST_CASE()
298 uint8_t(Instruction::PUSH1), 0x1, uint8_t(Instruction::ISZERO), uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
299 uint8_t(Instruction::PUSH2), 0x11, 0xaa, in BOOST_AUTO_TEST_CASE()
300 uint8_t(Instruction::PUSH2), 0x10, 0xaa, in BOOST_AUTO_TEST_CASE()
301 uint8_t(Instruction::LT), uint8_t(Instruction::ISZERO), uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
302 uint8_t(Instruction::EQ), in BOOST_AUTO_TEST_CASE()
303 uint8_t(Instruction::ISZERO) in BOOST_AUTO_TEST_CASE()
318 uint8_t(Instruction::PUSH1), 0x12, // 8 + 10 in BOOST_AUTO_TEST_CASE()
319 uint8_t(Instruction::PUSH1), 0x4, in BOOST_AUTO_TEST_CASE()
320 uint8_t(Instruction::GT), in BOOST_AUTO_TEST_CASE()
321 uint8_t(Instruction::ISZERO), // after this we have 4 <= 8 + 10 in BOOST_AUTO_TEST_CASE()
322 uint8_t(Instruction::DUP1), in BOOST_AUTO_TEST_CASE()
323 uint8_t(Instruction::PUSH1), 0x11, in BOOST_AUTO_TEST_CASE()
324 uint8_t(Instruction::JUMPI), // short-circuit if it is true in BOOST_AUTO_TEST_CASE()
325 uint8_t(Instruction::POP), in BOOST_AUTO_TEST_CASE()
326 uint8_t(Instruction::PUSH1), 0x2, in BOOST_AUTO_TEST_CASE()
327 uint8_t(Instruction::PUSH1), 0x9, in BOOST_AUTO_TEST_CASE()
328 uint8_t(Instruction::EQ), in BOOST_AUTO_TEST_CASE()
329 uint8_t(Instruction::ISZERO), // after this we have 9 != 2 in BOOST_AUTO_TEST_CASE()
330 uint8_t(Instruction::JUMPDEST), in BOOST_AUTO_TEST_CASE()
331 uint8_t(Instruction::ISZERO), uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
332 uint8_t(Instruction::PUSH1), 0x1, uint8_t(Instruction::ISZERO), uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
333 uint8_t(Instruction::EQ), in BOOST_AUTO_TEST_CASE()
334 uint8_t(Instruction::ISZERO) in BOOST_AUTO_TEST_CASE()
350 uint8_t(Instruction::JUMPDEST), in BOOST_AUTO_TEST_CASE()
351 uint8_t(Instruction::PUSH32) in BOOST_AUTO_TEST_CASE()
355 uint8_t(Instruction::PUSH1), 0x0, in BOOST_AUTO_TEST_CASE()
356 uint8_t(Instruction::MSTORE), in BOOST_AUTO_TEST_CASE()
357 uint8_t(Instruction::PUSH1), 0x12, in BOOST_AUTO_TEST_CASE()
358 uint8_t(Instruction::PUSH1), 0x4, in BOOST_AUTO_TEST_CASE()
359 uint8_t(Instruction::MSTORE), in BOOST_AUTO_TEST_CASE()
360 uint8_t(Instruction::PUSH1), 0x24, in BOOST_AUTO_TEST_CASE()
361 uint8_t(Instruction::PUSH1), 0x0, in BOOST_AUTO_TEST_CASE()
362 uint8_t(Instruction::REVERT), in BOOST_AUTO_TEST_CASE()
363 uint8_t(Instruction::JUMPDEST), in BOOST_AUTO_TEST_CASE()
364 uint8_t(Instruction::JUMP), in BOOST_AUTO_TEST_CASE()
365 uint8_t(Instruction::JUMPDEST) in BOOST_AUTO_TEST_CASE()
371 uint8_t(Instruction::PUSH1), 0x2, in BOOST_AUTO_TEST_CASE()
372 uint8_t(Instruction::PUSH1), 0x3, in BOOST_AUTO_TEST_CASE()
373 uint8_t(Instruction::PUSH1), 0x5, in BOOST_AUTO_TEST_CASE()
374 uint8_t(Instruction::DUP4), in BOOST_AUTO_TEST_CASE()
375 uint8_t(Instruction::PUSH1), 0x8, in BOOST_AUTO_TEST_CASE()
376 uint8_t(Instruction::XOR), in BOOST_AUTO_TEST_CASE()
377 uint8_t(Instruction::PUSH1), 0x7, in BOOST_AUTO_TEST_CASE()
378 uint8_t(Instruction::AND), in BOOST_AUTO_TEST_CASE()
379 uint8_t(Instruction::PUSH1), 0x6, in BOOST_AUTO_TEST_CASE()
380 uint8_t(Instruction::OR), in BOOST_AUTO_TEST_CASE()
381 uint8_t(Instruction::SUB), in BOOST_AUTO_TEST_CASE()
382 uint8_t(Instruction::PUSH1), 0x4, in BOOST_AUTO_TEST_CASE()
383 uint8_t(Instruction::ADD), in BOOST_AUTO_TEST_CASE()
384 uint8_t(Instruction::DUP2), in BOOST_AUTO_TEST_CASE()
385 uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
386 uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
387 uint8_t(Instruction::PUSH1), 0x20, in BOOST_AUTO_TEST_CASE()
388 uint8_t(Instruction::JUMPI), in BOOST_AUTO_TEST_CASE()
389 uint8_t(Instruction::PUSH1), 0x1f, in BOOST_AUTO_TEST_CASE()
390 uint8_t(Instruction::PUSH1), 0x36, in BOOST_AUTO_TEST_CASE()
391 uint8_t(Instruction::JUMP), in BOOST_AUTO_TEST_CASE()
392 uint8_t(Instruction::JUMPDEST), in BOOST_AUTO_TEST_CASE()
393 uint8_t(Instruction::JUMPDEST), in BOOST_AUTO_TEST_CASE()
394 uint8_t(Instruction::MOD), in BOOST_AUTO_TEST_CASE()
395 uint8_t(Instruction::DUP2), in BOOST_AUTO_TEST_CASE()
396 uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
397 uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
398 uint8_t(Instruction::PUSH1), 0x2e, in BOOST_AUTO_TEST_CASE()
399 uint8_t(Instruction::JUMPI), in BOOST_AUTO_TEST_CASE()
400 uint8_t(Instruction::PUSH1), 0x2d, in BOOST_AUTO_TEST_CASE()
401 uint8_t(Instruction::PUSH1), 0x36, in BOOST_AUTO_TEST_CASE()
402 uint8_t(Instruction::JUMP), in BOOST_AUTO_TEST_CASE()
403 uint8_t(Instruction::JUMPDEST), in BOOST_AUTO_TEST_CASE()
404 uint8_t(Instruction::JUMPDEST), in BOOST_AUTO_TEST_CASE()
405 uint8_t(Instruction::DIV), in BOOST_AUTO_TEST_CASE()
406 uint8_t(Instruction::PUSH1), 0x1, in BOOST_AUTO_TEST_CASE()
407 uint8_t(Instruction::MUL), in BOOST_AUTO_TEST_CASE()
408 uint8_t(Instruction::PUSH1), 0x67, in BOOST_AUTO_TEST_CASE()
409 uint8_t(Instruction::JUMP) in BOOST_AUTO_TEST_CASE()
413 uint8_t(Instruction::PUSH1), 0x1, in BOOST_AUTO_TEST_CASE()
414 uint8_t(Instruction::PUSH1), 0x2, in BOOST_AUTO_TEST_CASE()
415 uint8_t(Instruction::PUSH1), 0x3, in BOOST_AUTO_TEST_CASE()
416 uint8_t(Instruction::PUSH1), 0x4, in BOOST_AUTO_TEST_CASE()
417 uint8_t(Instruction::PUSH1), 0x5, in BOOST_AUTO_TEST_CASE()
418 uint8_t(Instruction::PUSH1), 0x6, in BOOST_AUTO_TEST_CASE()
419 uint8_t(Instruction::PUSH1), 0x7, in BOOST_AUTO_TEST_CASE()
420 uint8_t(Instruction::PUSH1), 0x8, in BOOST_AUTO_TEST_CASE()
421 uint8_t(Instruction::DUP9), in BOOST_AUTO_TEST_CASE()
422 uint8_t(Instruction::XOR), in BOOST_AUTO_TEST_CASE()
423 uint8_t(Instruction::AND), in BOOST_AUTO_TEST_CASE()
424 uint8_t(Instruction::OR), in BOOST_AUTO_TEST_CASE()
425 uint8_t(Instruction::SUB), in BOOST_AUTO_TEST_CASE()
426 uint8_t(Instruction::ADD), in BOOST_AUTO_TEST_CASE()
427 uint8_t(Instruction::DUP2), in BOOST_AUTO_TEST_CASE()
428 uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
429 uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
430 uint8_t(Instruction::PUSH1), 0x22, in BOOST_AUTO_TEST_CASE()
431 uint8_t(Instruction::JUMPI), in BOOST_AUTO_TEST_CASE()
432 uint8_t(Instruction::PUSH1), 0x21, in BOOST_AUTO_TEST_CASE()
433 uint8_t(Instruction::PUSH1), 0x36, in BOOST_AUTO_TEST_CASE()
434 uint8_t(Instruction::JUMP), in BOOST_AUTO_TEST_CASE()
435 uint8_t(Instruction::JUMPDEST), in BOOST_AUTO_TEST_CASE()
436 uint8_t(Instruction::JUMPDEST), in BOOST_AUTO_TEST_CASE()
437 uint8_t(Instruction::MOD), in BOOST_AUTO_TEST_CASE()
438 uint8_t(Instruction::DUP2), in BOOST_AUTO_TEST_CASE()
439 uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
440 uint8_t(Instruction::ISZERO), in BOOST_AUTO_TEST_CASE()
441 uint8_t(Instruction::PUSH1), 0x30, in BOOST_AUTO_TEST_CASE()
442 uint8_t(Instruction::JUMPI), in BOOST_AUTO_TEST_CASE()
443 uint8_t(Instruction::PUSH1), 0x2f, in BOOST_AUTO_TEST_CASE()
444 uint8_t(Instruction::PUSH1), 0x36, in BOOST_AUTO_TEST_CASE()
445 uint8_t(Instruction::JUMP), in BOOST_AUTO_TEST_CASE()
446 uint8_t(Instruction::JUMPDEST), in BOOST_AUTO_TEST_CASE()
447 uint8_t(Instruction::JUMPDEST), in BOOST_AUTO_TEST_CASE()
448 uint8_t(Instruction::DIV), in BOOST_AUTO_TEST_CASE()
449 uint8_t(Instruction::MUL), in BOOST_AUTO_TEST_CASE()
450 uint8_t(Instruction::PUSH1), 0x67, in BOOST_AUTO_TEST_CASE()
451 uint8_t(Instruction::JUMP) in BOOST_AUTO_TEST_CASE()
469 uint8_t(Instruction::DUP1), in BOOST_AUTO_TEST_CASE()
470 uint8_t(Instruction::PUSH1), 0x0, in BOOST_AUTO_TEST_CASE()
471 uint8_t(Instruction::SUB), in BOOST_AUTO_TEST_CASE()
472 uint8_t(Instruction::NOT), in BOOST_AUTO_TEST_CASE()
473 uint8_t(Instruction::PUSH1), 0x2, in BOOST_AUTO_TEST_CASE()
474 uint8_t(Instruction::EQ), in BOOST_AUTO_TEST_CASE()
475 uint8_t(Instruction::ISZERO) in BOOST_AUTO_TEST_CASE()
479 uint8_t(Instruction::PUSH1), 0x2, in BOOST_AUTO_TEST_CASE()
480 uint8_t(Instruction::DUP2), in BOOST_AUTO_TEST_CASE()
481 uint8_t(Instruction::PUSH1), 0x0, in BOOST_AUTO_TEST_CASE()
482 uint8_t(Instruction::SUB), in BOOST_AUTO_TEST_CASE()
483 uint8_t(Instruction::NOT), in BOOST_AUTO_TEST_CASE()
484 uint8_t(Instruction::EQ), in BOOST_AUTO_TEST_CASE()
485 uint8_t(Instruction::ISZERO) in BOOST_AUTO_TEST_CASE()
501 uint8_t(Instruction::DUP2), in BOOST_AUTO_TEST_CASE()
502 uint8_t(Instruction::DUP1), in BOOST_AUTO_TEST_CASE()
503 uint8_t(Instruction::PUSH1), 0x1, in BOOST_AUTO_TEST_CASE()
504 uint8_t(Instruction::ADD), in BOOST_AUTO_TEST_CASE()
506 uint8_t(Instruction::SWAP3), in BOOST_AUTO_TEST_CASE()
507 uint8_t(Instruction::POP), // first ++ in BOOST_AUTO_TEST_CASE()
509 uint8_t(Instruction::DUP3), in BOOST_AUTO_TEST_CASE()
510 uint8_t(Instruction::PUSH1), 0x1, in BOOST_AUTO_TEST_CASE()
511 uint8_t(Instruction::ADD), in BOOST_AUTO_TEST_CASE()
513 uint8_t(Instruction::SWAP3), in BOOST_AUTO_TEST_CASE()
514 uint8_t(Instruction::POP), in BOOST_AUTO_TEST_CASE()
516 uint8_t(Instruction::DUP3), // second ++ in BOOST_AUTO_TEST_CASE()
517 uint8_t(Instruction::XOR), in BOOST_AUTO_TEST_CASE()
519 uint8_t(Instruction::DUP3), in BOOST_AUTO_TEST_CASE()
520 uint8_t(Instruction::DUP1), in BOOST_AUTO_TEST_CASE()
521 uint8_t(Instruction::PUSH1), 0x1, in BOOST_AUTO_TEST_CASE()
522 uint8_t(Instruction::SWAP1), in BOOST_AUTO_TEST_CASE()
523 uint8_t(Instruction::SUB), in BOOST_AUTO_TEST_CASE()
525 uint8_t(Instruction::SWAP4), in BOOST_AUTO_TEST_CASE()
526 uint8_t(Instruction::POP), // first -- in BOOST_AUTO_TEST_CASE()
527 uint8_t(Instruction::XOR), in BOOST_AUTO_TEST_CASE()
529 uint8_t(Instruction::DUP3), in BOOST_AUTO_TEST_CASE()
530 uint8_t(Instruction::PUSH1), 0x1, in BOOST_AUTO_TEST_CASE()
531 uint8_t(Instruction::SWAP1), in BOOST_AUTO_TEST_CASE()
532 uint8_t(Instruction::SUB), in BOOST_AUTO_TEST_CASE()
534 uint8_t(Instruction::SWAP3), in BOOST_AUTO_TEST_CASE()
535 uint8_t(Instruction::POP), // second ++ in BOOST_AUTO_TEST_CASE()
537 uint8_t(Instruction::DUP3), // will change in BOOST_AUTO_TEST_CASE()
538 uint8_t(Instruction::XOR), in BOOST_AUTO_TEST_CASE()
539 uint8_t(Instruction::SWAP1), in BOOST_AUTO_TEST_CASE()
540 uint8_t(Instruction::POP), in BOOST_AUTO_TEST_CASE()
541 uint8_t(Instruction::DUP1) in BOOST_AUTO_TEST_CASE()
560 uint8_t(Instruction::DUP1), in BOOST_AUTO_TEST_CASE()
561 uint8_t(Instruction::DUP3), in BOOST_AUTO_TEST_CASE()
562 uint8_t(Instruction::ADD), in BOOST_AUTO_TEST_CASE()
563 uint8_t(Instruction::SWAP2), in BOOST_AUTO_TEST_CASE()
564 uint8_t(Instruction::POP), in BOOST_AUTO_TEST_CASE()
565 uint8_t(Instruction::DUP2), in BOOST_AUTO_TEST_CASE()
566 uint8_t(Instruction::PUSH1), 0x2, in BOOST_AUTO_TEST_CASE()
567 uint8_t(Instruction::MUL) in BOOST_AUTO_TEST_CASE()
571 uint8_t(Instruction::PUSH1), 0x2, in BOOST_AUTO_TEST_CASE()
572 uint8_t(Instruction::DUP2), in BOOST_AUTO_TEST_CASE()
573 uint8_t(Instruction::DUP4), in BOOST_AUTO_TEST_CASE()
574 uint8_t(Instruction::ADD), in BOOST_AUTO_TEST_CASE()
576 uint8_t(Instruction::SWAP3), in BOOST_AUTO_TEST_CASE()
577 uint8_t(Instruction::POP), in BOOST_AUTO_TEST_CASE()
578 uint8_t(Instruction::DUP3), in BOOST_AUTO_TEST_CASE()
580 uint8_t(Instruction::MUL) in BOOST_AUTO_TEST_CASE()
594 bytes expectation(bytes({uint8_t(Instruction::PUSH32)}) + bytes(31, 0xff) + bytes(1, 0x80)); in BOOST_AUTO_TEST_CASE()
607 bytes expectation(bytes({uint8_t(Instruction::PUSH32)}) + bytes(30, 0xff) + bytes{0xf5, 0x43}); in BOOST_AUTO_TEST_CASE()
622 bytes expectation(bytes({uint8_t(Instruction::PUSH1), 0xbf})); in BOOST_AUTO_TEST_CASE()
638 bytes expectation({uint8_t(Instruction::PUSH1), 0x03, in BOOST_AUTO_TEST_CASE()
639 uint8_t(Instruction::BLOCKHASH)}); in BOOST_AUTO_TEST_CASE()
654 bytes expectation = bytes({uint8_t(Instruction::GAS)}); in BOOST_AUTO_TEST_CASE()
672 bytes expectation({uint8_t(Instruction::SELFBALANCE)}); in BOOST_AUTO_TEST_CASE()