loadertest: rel8/32 operands

This commit is contained in:
Michael McLoughlin
2018-11-22 16:21:05 -06:00
parent 27235485a6
commit 4404836ff4
3 changed files with 42 additions and 11 deletions

View File

@@ -103,7 +103,7 @@ func order(i *x86csv.Inst) OperandOrder {
// skip decides whether to ignore the instruction for analysis purposes.
func skip(i *x86csv.Inst) bool {
switch {
case strings.Contains(i.GoOpcode(), "/"):
case strings.ContainsAny(i.GoOpcode(), "/*"):
return true
case i.Mode64 == "I": // Invalid in 64-bit mode.
return true