diff options
author | Matevos Mehrabyan <matevosmehrabyan@gmail.com> | 2024-11-11 13:00:10 -0700 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-12-01 08:54:21 -0700 |
commit | 148e20466c2c246df9472efed0f2ae94cb65a0f8 (patch) | |
tree | 0440c9fabf4693f68cdee8e5c63dae302cd39f70 /gcc/tree-ssa-phiopt.cc | |
parent | 062ad209e496a69925b1ac1d80d9b99c54801830 (diff) | |
download | gcc-148e20466c2c246df9472efed0f2ae94cb65a0f8.zip gcc-148e20466c2c246df9472efed0f2ae94cb65a0f8.tar.gz gcc-148e20466c2c246df9472efed0f2ae94cb65a0f8.tar.bz2 |
[PATCH v6 09/12] Add symbolic execution support.
Gives an opportunity to execute the code on bit level, assigning
symbolic values to the variables which don't have initial values.
Supports only CRC specific operations.
Example:
uint8_t crc;
uint8_t pol = 1;
crc = crc ^ pol;
during symbolic execution crc's value will be:
crc(8), crc(7), ... crc(1), crc(0) ^ 1
gcc/
* Makefile.in (OBJS): Add sym-exec/sym-exec-expression.o,
sym-exec/sym-exec-state.o, sym-exec/sym-exec-condition.o.
* configure (sym-exec): New subdir.
* sym-exec/sym-exec-condition.cc: New file.
* sym-exec/sym-exec-condition.h: New file.
* sym-exec/sym-exec-expr-is-a-helper.h: New file.
* sym-exec/sym-exec-expression.cc: New file.
* sym-exec/sym-exec-expression.h: New file.
* sym-exec/sym-exec-state.cc: New file.
* sym-exec/sym-exec-state.h: New file.
Co-authored-by: Mariam Arutunian <mariamarutunian@gmail.com>
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions