Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Bump iced-x86 from 1.13.0 to 1.14.0 in /src/agent #1163

Merged
merged 1 commit into from
Aug 20, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 20, 2021

Bumps iced-x86 from 1.13.0 to 1.14.0.

Release notes

Sourced from iced-x86's releases.

v1.14.0

  • Rust: Creating instructions got a lot easier:
    let mut a = CodeAssembler::new(64)?;
    a.xor(ecx, ecx)?;
    a.add(byte_ptr(rdx + r15 * 8 + 7), 0x10)?;
    assert_eq!(a.instructions().len(), 2);
    let bytes = a.assemble(0x1234_5678)?;
    assert_eq!(bytes, b"\x31\xC9\x42\x80\x44\xFA\x07\x10");
    All instructions are supported, including VEX/EVEX instructions. It requires the code_asm feature which is disabled by default. See the Rust README for a longer example.
  • Rust: Added Instruction::with{1,2,3,4,5}() methods to create instructions. The older methods with longer names have been deprecated.
    // old: 
    let _ = Instruction::try_with_reg_reg_u32(Code::Imul_r16_rm16_imm16, Register::CX, Register::DX, 0x5AA5)?;
    // new: (the '3' suffix means '3 operands')
    let _ = Instruction::with3(Code::Imul_r16_rm16_imm16, Register::CX, Register::DX, 0x5AA5)?;
    // A number suffix (`u32`, `u64`, `i64`) is sometimes needed to help the compiler:
    let _ = Instruction::with2(Code::Mov_r64_imm64, Register::RAX, 0x1234_5678_9ABC_DEF0u64)?;
  • Python: Instruction can be serialized/deserialized with pickle (Credit: @​paulfariello)
  • Added Instruction::is_string_instruction() (Credit: @​woodruffw) which returns true if it's eg. SCASB, MOVSQ, or any other string instruction.
  • Rust: optional serde feature added to serialize/deserialize Instruction
Commits
  • 1fe8123 Bump version
  • 5fb3efe Update build-rust
  • f004812 Update sln path
  • 8521497 Rename mem() -> ptr()
  • 7b4b8cf Rename set_current_label() -> set_label()
  • 9514df4 Update comments and code
  • a612231 Merge pull request #192 from icedland/dependabot/nuget/src/csharp/Microsoft.N...
  • 7c2a28c Merge branch 'master' into dependabot/nuget/src/csharp/Microsoft.NET.Test.Sdk...
  • 7dcba22 Fix warnings
  • f1cf7c8 Error if displ is invalid, closes #194
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [iced-x86](https://github.com/icedland/iced) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/icedland/iced/releases)
- [Commits](icedland/iced@v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: iced-x86
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 20, 2021
@ranweiler
Copy link
Member

@dependabot squash and merge

@dependabot dependabot bot merged commit 8270ca2 into main Aug 20, 2021
@dependabot dependabot bot deleted the dependabot/cargo/src/agent/iced-x86-1.14.0 branch August 20, 2021 16:11
@ghost ghost locked as resolved and limited conversation to collaborators Sep 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant