1
PC逆向工程师笔试题
姓名:
笔试时间:结束时间:
1
.text:002A2500sub_2A2500procnear
.text:002A2500PerformanceCount=LARGE_INTEGEredx,[ebp+var_C]
mov[ebp+var_C],edx
;CODEXREF:sub_2A2500+7Bjmoveax,[ebp+var_C]
movesp,ebp
popebp
retn
.text:002A258Fsub_2A2500endp
,写成C或C++代码
,使用C或汇编语言均可
31
Android逆向工程师笔试题
将下面的smali语言写成java或C++程序
.classpublicabstractLcom/tencent/mmdb/database/SQLiteClosable;
.superLjava/lang/ObjeCt;
.sourCe"SourCeFile"
interfaCes
.implementsLjava/io/Closeable;
instanCefields
.fieldprivatemReferenCeCount:I
direCtmethods
.methodpubliCConstruCtor<init>()V
.loCals1
.prologue
.line26
invoke-direCt{p0},Ljava/lang/ObjeCt;-><init>()V
.line27
Const/4v0,0x1
iputv0,p0,LCom/tenCent/mmdb/database/SQLiteClosable;->mReferenCeCount:Ireturn-void
.endmethod
virtualmethods
.methodpubliCaCquireReferenCe()V
.loCals3
.prologue
.line53
monitor-enterp0
.line54
:try_start_0
igetv0,p0,LCom/tenCent/mmdb/database/SQLiteClosable;->mReferenCeCount:I
14
if-gtzv0,:cond_0
.line55
new-instancev0,Ljava/lang/IllegalStateException;
new-instancev1,Ljava/lang/StringBuilder;
const-string/jumbov2,"attempttore-openanalready-closedobject:"
p0},
invoke-direct{v1,v2},Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)Vinvoke-virtual{v1,
Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-objectv1
invoke-virtual{v1},Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-objectv1
invoke-direct{v0,v1},Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)Vthrowv0
.line59
:catchall_0
move-exceptionv0
monitor-exitp0
:try_end_0
.catchall{:try_start_0..:try_end_0}:catchall_0
throwv0
.line58
:cond_0
:try_start_1
igetv0,p0,Lcom/tencent/mmdb/database/SQLiteClosable;->mReferenceCount:Iadd-int/lit8v0,v0,0x1
iputv0,p0,Lcom/tencent/mmdb/database/SQLiteClosable;->mReferenceCount:I
51
.line59monitor-exitp0
:try_end_1
.catchall{:try_start_
逆向工程师面试笔试题 来自淘豆网m.daumloan.com转载请标明出处.