Disconnect3d 6e29dfa2c0 Fix arm thb instruction shift value (#1330)
* Fixes #1317 - arm thb operand.shift.value

For a more detailed description, see issue #1317.

Release 4.0.0 introduced a new field for ARM operands:
`operand.mem.lshift`. This field was supposed to be a bug fix for #246.
The #246 issue has been fixed in the meantime and the proper shift value
was stored in `operand.shift.value`.

The 4.0.0 changes created a regression in which `operand.shift.value`
was not set for a `tbh [r0, r1, lsl #1]` instruction on ARM and the
value was set in a `operand.mem.lshift` field instead.

As the regression broke some of users codebase (e.g. in
[manticore](https://github.com/trailofbits/manticore/pull/1312) project), we fix it by setting
`operand.shift.value` back again.

As a result, the shift value is set in two fields: `operand.shift.value`
and `operand.mem.lshift`. As the `operand.shift` also stores a `.type`
field, we might want to deprecate `operand.mem.lshift` in the future.

* Add changelog stub
2019-01-02 09:51:22 +08:00
..
2018-07-20 12:36:50 +08:00
2018-07-20 12:36:50 +08:00
2018-07-20 12:36:50 +08:00
2015-03-04 17:45:23 +08:00
2018-07-20 12:36:50 +08:00
2018-07-20 12:36:50 +08:00
2018-07-20 12:36:50 +08:00
2015-03-04 17:45:23 +08:00
2015-03-04 17:45:23 +08:00
2015-04-07 11:59:26 +08:00
2016-09-05 23:05:03 +08:00