AlexeySoshin / smali2java

Recreate Java code from Smali
486 stars 84 forks source link

Handle const-string values with spaces in them #12

Closed sworisbreathing closed 4 years ago

sworisbreathing commented 4 years ago

I noticed the final string parser was giving bogus output when the string value had spaces in it (including not terminating the string properly). This is a simple fix to produce the correct output.

codecov-io commented 4 years ago

Codecov Report

Merging #12 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #12   +/-   ##
======================================
  Coverage    75.1%   75.1%           
======================================
  Files          20      20           
  Lines         498     498           
======================================
  Hits          374     374           
  Misses         97      97           
  Partials       27      27
Impacted Files Coverage Δ
parser/final_string.go 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2befb20...012e879. Read the comment docs.