Skip to content

Conversation

gitoleg
Copy link
Contributor

@gitoleg gitoleg commented Mar 28, 2018

Sections were printed twice in disassembly output when using bap with pure binary code. This PR
removes this behavior:

$ bap some_exe -dasm --source-type x86-code --read-symbols-from start

Disassembly of section bap.user

0: <_start>
0:
0: 66 31 c0                                       xorw %ax, %ax
3: 66 40                                          incw %ax
5: 66 89 c1                                       movw %ax, %cx

Sections were printed twice in disassembly output
when using bap with pure binary code. This PR
removes this behavior:
```
$ bap tmp_test -dasm --source-type x86-code --read-symbols-from start

Disassembly of section bap.user

0: <_start>
0:
0: 66 31 c0                                       xorw %ax, %ax
3: 66 40                                          incw %ax
5: 66 89 c1                                       movw %ax, %cx
```
@ivg ivg merged commit 5704f07 into BinaryAnalysisPlatform:master Mar 28, 2018
@gitoleg gitoleg deleted the remove-section-duplicates branch March 28, 2018 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants